diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-20 08:54:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-20 08:54:22 +0000 |
commit | bcb11275f9e8e4324ef33449c82bea92e44f6386 (patch) | |
tree | 822d7c66053fd22bf9e762361de9cb847d8fa091 /pod | |
parent | e7b79d5064e218180834206ebc0da9a68d87f20e (diff) | |
download | perl-bcb11275f9e8e4324ef33449c82bea92e44f6386.tar.gz |
Yitzchak points out that the perldiag entry for "Integer overflow in
division" is no longer useful.
p4raw-id: //depot/perl@27237
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 44b83ed64b..b1c159471c 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1976,16 +1976,6 @@ transparently promotes all numbers to a floating point representation internally--subject to loss of precision errors in subsequent operations. -=item Integer overflow in division - -(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 C<printf()> |