diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-08-01 21:23:18 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-08-01 21:23:18 +0000 |
commit | 6dc6802c365c59fa2b2a820b1efa297528448159 (patch) | |
tree | 14dfaf47f296370db9992e55053ad7487f4706a3 /pod | |
parent | a9a9fdd7274c13fad954d576fb696d66ae6fa435 (diff) | |
parent | ad7e816fc202b9506cd8e0633196331ccf37f264 (diff) | |
download | perl-6dc6802c365c59fa2b2a820b1efa297528448159.tar.gz |
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@3860
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 7 | ||||
-rw-r--r-- | pod/perldiag.pod | 39 |
2 files changed, 18 insertions, 28 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 260d62aea8..ad0abccc6c 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -141,13 +141,6 @@ C<oct()>: $answer = 0b101010; printf "The answer is: %b\n", oct("0b101010"); -=head2 Literal hexadecimal, octal, and binary numbers must fit within native sizes - -The warning that used to be produced when encountering hexadecimal, octal, -and binary literals that are too large to be represented as native integers -has now been promoted to a fatal error. Literal decimal numbers are -unaffected. - =head2 syswrite() ease-of-use The length argument of C<syswrite()> is now optional. diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 7a7b129782..47e16bfa5d 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -472,9 +472,9 @@ likely depends on its correct operation, Perl just gave up. =item Binary number > 0b11111111111111111111111111111111 non-portable -(W) The binary number you specified is larger than 2**32-1 and therefore -generally non-portable between systems. See L<perlport> for more on -portability concerns. +(W) The binary number you specified is larger than 2**32-1 +(4294967295) and therefore non-portable between systems. See +L<perlport> for more on portability concerns. =item bind() on closed fd @@ -1426,9 +1426,9 @@ is now heavily deprecated. =item Hexadecimal number > 0xffffffff non-portable -(W) The hexadecimal number you specified is larger than 2**32-1 and -therefore non-portable between systems. See L<perlport> for more on -portability concerns. +(W) The hexadecimal number you specified is larger than 2**32-1 +(4294967295) and therefore non-portable between systems. See +L<perlport> for more on portability concerns. =item Identifier too long @@ -1544,18 +1544,15 @@ known value, using trustworthy data. See L<perlsec>. =item Integer overflow in %s number -(F,X) The hexadecimal, octal or binary number you have specified -either as a literal in your code or as a scalar is too big for your -architecture. On a 32-bit architecture the largest literal hex, octal -or binary number representable without overflow is 0xFFFFFFFF, -037777777777, or 0b11111111111111111111111111111111 respectively. -Note that Perl transparently promotes decimal literals to a floating -point representation internally--subject to loss of precision errors -in subsequent operations--so this limit usually doesn't apply to -decimal literals. If the overflow is in a literal of your code, the -error is untrappable (there is no way the code could work safely in -your system), if the overflow happens in hex() or oct() the error is -trappable. +(W) The hexadecimal, octal or binary number you have specified either +as a literal in your code or as a scalar is too big for your +architecture, and has been converted to a floating point number. On a +32-bit architecture the largest hexadecimal, octal or binary number +representable without overflow is 0xFFFFFFFF, 037777777777, or +0b11111111111111111111111111111111 respectively. Note that Perl +transparently promotes all numbers to a floating point representation +internally--subject to loss of precision errors in subsequent +operations. =item Internal inconsistency in tracking vforks @@ -1982,9 +1979,9 @@ try using scientific notation (e.g. "1e6" instead of "1_000_000"). =item Octal number > 037777777777 non-portable -(W) The octal number you specified is larger than 2**32-1 and -therefore non-portable between systems. See L<perlport> for more on -portability concerns. +(W) The octal number you specified is larger than 2**32-1 (4294967295) +and therefore non-portable between systems. See L<perlport> for more +on portability concerns. =item Odd number of elements in hash assignment |