summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorIan Goodacre <Ian.Goodacre@xtra.co.nz>2010-10-23 16:46:02 +1300
committerFather Chrysostomos <sprout@cpan.org>2010-10-22 23:19:28 -0700
commit0f2dddf9d5446ead8d477e583a8d2c0191df31e1 (patch)
treed6f8c984973ffa025adf8554d601438db2688c63 /pod/perltrap.pod
parent5ad172142bcdae876148c9d21f887d2361cf2083 (diff)
downloadperl-0f2dddf9d5446ead8d477e583a8d2c0191df31e1.tar.gz
Corrected Perl5 example of Formatted output and significant digits
The following note says "Your results may vary...", so maybe some perls did give the value in the example as it was, but perl v5.10.0 on Intel Pentium based system gives the more accurate revised output. I am also dubious about the values given for perl4 as the error is quite large, but I don't have perl4 easily available to test.
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 877dc08446..3569709532 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -704,7 +704,7 @@ tries to be more precise. For example, on a Solaris Sparc:
# Perl5 prints:
7.373504
- 7.375039999999999614
+ 7.373503999999999614
Notice how the first result looks better in Perl 5.