From: Jarkko Hietaniemi Date: Sun, 20 Aug 2000 21:32:59 +0000 (+0000) Subject: Document the number of exponent digits. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b73fd64e68a196cdb9ea2aba5b59e3876bc3b5cd;p=p5sagit%2Fp5-mst-13.2.git Document the number of exponent digits. p4raw-id: //depot/perl@6729 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 5c8f88a..cc1393f 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4452,9 +4452,11 @@ permits these unnecessary but widely-supported conversions: %O a synonym for %lo %F a synonym for %f -Conversions to scientific notation by C<%e>, C<%E>, C<%g> and C<%G> -always have a two-digit exponent unless the modulus of the exponent is -greater than 99. +Note that the number of exponent digits in the scientific notation by +C<%e>, C<%E>, C<%g> and C<%G> for numbers with the modulus of the +exponent less than 100 is system-dependent: it may be three or less +(zero-padded as necessary). In other words, 1.23 times ten to the +99th may be either "1.23e99" or "1.23e099". Perl permits the following universally-known flags between the C<%> and the conversion letter: