This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX math: looser error bound for erf test.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 2 Sep 2014 23:36:35 +0000 (19:36 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 3 Sep 2014 01:02:25 +0000 (21:02 -0400)
ext/POSIX/t/math.t

index 980734e..abab196 100644 (file)
@@ -134,7 +134,7 @@ SKIP: {
     ok(isgreater(2, 1), "isgreater 2 1");
     ok(islessequal(1, 1), "islessequal 1 1");
     ok(isunordered(1, NaN), "isunordered 1 NaN");
-    cmp_ok(abs(erf(1) - 0.842700792949715), '<', 1.2e-7, "erf 1");
+    cmp_ok(abs(erf(1) - 0.842700792949715), '<', 1.5e-7, "erf 1");
 }
 
 done_testing();