diff options
author | Andy Lester <andy@petdance.com> | 2006-02-12 17:08:48 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-13 17:27:59 +0000 |
commit | 0be96356bfca2623ae6f5872908239eb3b0f61c9 (patch) | |
tree | 3b30db7671cc21c7383828bd7ebbd1d5a7e18529 /pod/perldiag.pod | |
parent | cfaba46925323ddb2ac7bb023d3c916e0d3b135e (diff) | |
download | perl-0be96356bfca2623ae6f5872908239eb3b0f61c9.tar.gz |
perldiag.pod patching re: integer overflow
Message-ID: <20060213050848.GB27993@petdance.com>
p4raw-id: //depot/perl@27174
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index f8cd5dff90..44b83ed64b 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1978,18 +1978,18 @@ operations. =item Integer overflow in division -(F) In the scope of the C<use integer;> pragma division would have overflowed. -This will happen if attempt to divide the largest negative integer by -1, -as on a twos complement system the result cannot be represented as a signed -integer. This division is trapped as a Perl level exception because on some +(F) In the scope of the C<use integer;> pragma, division would have overflowed. +This will happen if you attempt to divide the largest negative integer by -1, +since the result cannot be represented as a signed integer on a two's complement +system. This division is trapped as a Perl-level exception because on some architectures the integer divide operation will trigger a CPU exception causing program exit, rather than merely returning a mathematically wrong answer. =item Integer overflow in format string for %s -(F) The indexes and widths specified in the format string of printf() -or sprintf() are too large. The numbers must not overflow the size of +(F) The indexes and widths specified in the format string of C<printf()> +or C<sprintf()> are too large. The numbers must not overflow the size of integers for your architecture. =item Integer overflow in version |