summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-20 21:32:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-20 21:32:59 +0000
commitb73fd64e68a196cdb9ea2aba5b59e3876bc3b5cd (patch)
tree4553d7012dfb43dda2bca37a2723fcb5a2eacb6c /pod
parent93b42772edba45c8799fc03a21bca58c00671c19 (diff)
downloadperl-b73fd64e68a196cdb9ea2aba5b59e3876bc3b5cd.tar.gz
Document the number of exponent digits.
p4raw-id: //depot/perl@6729
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod8
1 files changed, 5 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 5c8f88a10b..cc1393faa1 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: