summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-05 23:45:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-05 23:45:05 +0000
commit7dd955c9c2600704fde4900e0b03498ecaec9d18 (patch)
tree39c4c6d4fd61dae7d028be5916e08c33cadffd89
parentbe484260a45925b3ceeebb752c3a7e6744c86450 (diff)
downloadperl-7dd955c9c2600704fde4900e0b03498ecaec9d18.tar.gz
The fudge factor is no more needed. I hope.
p4raw-id: //depot/perl@10446
-rwxr-xr-xt/lib/posix.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/posix.t b/t/lib/posix.t
index 2f29e0ddb2..33ab94432f 100755
--- a/t/lib/posix.t
+++ b/t/lib/posix.t
@@ -82,7 +82,7 @@ if ($Config{d_strtod}) {
# Using long double NVs may introduce greater accuracy than wanted.
$n =~ s/^3.1415(8999|9000)\d*$/3.14159/
if $Config{uselongdouble} eq 'define';
- print ((abs($n - 3.14159) < 0.00001) && ($x == 6) ?
+ print (($n == 3.14159) && ($x == 6) ?
"ok 14\n" : "not ok 14\n");
&POSIX::setlocale(&POSIX::LC_NUMERIC, $lc) if $Config{d_setlocale};
} else { print "# strtod not present\n", "ok 14\n"; }