From: Nicholas Clark Date: Sat, 11 Feb 2006 22:52:40 +0000 (+0000) Subject: In perldiag.pod add an entry for the error message that change 27155 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb6bf5f80c62bc2d2267b0782d9f373f88a3fefa;p=p5sagit%2Fp5-mst-13.2.git In perldiag.pod add an entry for the error message that change 27155 introduced. p4raw-id: //depot/perl@27162 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 8509f6c..f8cd5df 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 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()