summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-11 22:52:40 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-11 22:52:40 +0000
commiteb6bf5f80c62bc2d2267b0782d9f373f88a3fefa (patch)
tree3ad416fd246c2faa4fd2a2df151f8ce9f4430b03 /pod
parent3f26ef392b1db5eeb17a57a0b399d75e6534efcb (diff)
downloadperl-eb6bf5f80c62bc2d2267b0782d9f373f88a3fefa.tar.gz
In perldiag.pod add an entry for the error message that change 27155
introduced. p4raw-id: //depot/perl@27162
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 8509f6c161..f8cd5dff90 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1976,6 +1976,16 @@ 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 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
+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()