diff options
author | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-04-13 11:42:12 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-04-13 11:42:12 +0200 |
commit | 8548cb578e4b4a0b9e3b56af82a8b95a270dc769 (patch) | |
tree | 9f7166e0278e52189ccdaa03b9d7eb24ae42bc64 | |
parent | 08fe1c446dfd7f69d072837b13864047af619591 (diff) | |
download | perl-8548cb578e4b4a0b9e3b56af82a8b95a270dc769.tar.gz |
[perl #74198] Typo in perlop(1)
reported by rrt@sc3d.org
-rw-r--r-- | pod/perlop.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index ea0b07fb93..ebe32fb310 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2520,8 +2520,8 @@ so some corners must be cut. For example: printf "%.20g\n", 123456789123456789; # produces 123456789123456784 -Testing for exact equality of floating-point equality or inequality is -not a good idea. Here's a (relatively expensive) work-around to compare +Testing for exact floating-point equality or inequality is not a +good idea. Here's a (relatively expensive) work-around to compare whether two floating-point numbers are equal to a particular number of decimal places. See Knuth, volume II, for a more robust treatment of this topic. |