From:

Date:

March 14, 2000 06:45Subject:

[DOC PATCH RC1] perlnumber.podMessage ID:

200003141450.OAA01884@crypt.compulink.co.ukAttached are some minor fixes to this new pod page. I do not understand what these bits near the end are saying: =item Arithmetic operators except, C<no integer> force the argument into the floating point format. etc, so I left them alone. Hugo --- pod/perlnumber.pod.old Wed Mar 1 00:29:57 2000 +++ pod/perlnumber.pod Tue Mar 14 14:47:54 2000 @@ -22,11 +22,11 @@ overloading allows user-defined behaviors for numbers, such as operations over arbitrarily large integers, floating points numbers with arbitrary precision, operations over "exotic" numbers such as modular arithmetic or -p-adic arithmetic, and so on. See L<perlovl> for details. +p-adic arithmetic, and so on. See L<overload> for details. =head1 Storing numbers -Perl can internally represents numbers in 3 different ways: as native +Perl can internally represent numbers in 3 different ways: as native integers, as native floating point numbers, and as decimal strings. Decimal strings may have an exponential notation part, as in C<"12.34e-56">. I<Native> here means "a format supported by the C compiler which was used @@ -54,7 +54,7 @@ 12345678901234567 as a floating point number on such architectures without loss of information. -Similarly, decimal strings may represent only those numbers which have a +Similarly, decimal strings can represent only those numbers which have a finite decimal expansion. Being strings, and thus of arbitrary length, there is no practical limit for the exponent or number of decimal digits for these numbers. (But realize that what we are discussing the rules for just the @@ -182,4 +182,4 @@ =head1 SEE ALSO -L<perlovl> +L<overload>

- Smoke [5.9.0] 21356 FAIL(m) bsdos 4.1 (i386/1 cpu) by kane
**[DOC PATCH RC1] perlnumber.pod**by Hugo

nntp.perl.org: Perl Programming lists via nntp and http.

Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About