Browse Source

Increase single-precision test tolerance for erfc(1.2) and yn(3, 0.7).

Closes #53
Sébastien Villemot 10 years ago
parent
commit
275d0df327
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/libm-test-ulps.h

+ 2 - 2
test/libm-test-ulps.h

@@ -137,7 +137,7 @@
 #define DELTA800 CHOOSE(BUILD_COMPLEX (286, 3074), BUILD_COMPLEX (0, 1), BUILD_COMPLEX (1, 0), BUILD_COMPLEX (286, 3074), BUILD_COMPLEX (0, 1), BUILD_COMPLEX (1, 0))	/* ctanh (0.7 + 1.2 i) == 1.3472197399061191630 + 0.4778641038326365540 i  */
 #define DELTA801 CHOOSE(BUILD_COMPLEX (5, 25), 0, BUILD_COMPLEX (0, 1), BUILD_COMPLEX (5, 25), 0, BUILD_COMPLEX (0, 1))	/* ctanh (-2 - 3 i) == -0.9653858790221331242 + 0.0098843750383224937 i  */
 #define DELTA817 CHOOSE(1, 1, 0, 1, 1, 0)	/* erfc (0.7) == 0.32219880616258152702  */
-#define DELTA818 CHOOSE(3, 1, 1, 3, 1, 1)	/* erfc (1.2) == 0.089686021770364619762  */
+#define DELTA818 CHOOSE(3, 1, 2, 3, 1, 2)	/* erfc (1.2) == 0.089686021770364619762  */
 #define DELTA819 CHOOSE(0, 1, 0, 0, 1, 0)	/* erfc (2.0) == 0.0046777349810472658379  */
 #define DELTA820 CHOOSE(12, 24, 12, 12, 24, 12)	/* erfc (4.1) == 0.67000276540848983727e-8  */
 #define DELTA821 CHOOSE(36, 0, 0, 36, 0, 0)	/* erfc (9) == 0.41370317465138102381e-36  */
@@ -244,7 +244,7 @@
 #define DELTA1652 CHOOSE(2, 0, 2, 2, 0, 2)	/* yn (1, 8.0) == -0.15806046173124749426  */
 #define DELTA1653 CHOOSE(0, 3, 2, 0, 3, 2)	/* yn (1, 10.0) == 0.24901542420695388392  */
 #define DELTA1656 CHOOSE(2, 1, 1, 2, 1, 1)	/* yn (3, 0.1) == -5099.3323786129048894  */
-#define DELTA1657 CHOOSE(2, 3, 0, 2, 3, 0)	/* yn (3, 0.7) == -15.819479052819633505  */
+#define DELTA1657 CHOOSE(2, 3, 1, 2, 3, 1)	/* yn (3, 0.7) == -15.819479052819633505  */
 #define DELTA1659 CHOOSE(0, 1, 1, 0, 1, 1)	/* yn (3, 2.0) == -1.1277837768404277861  */
 #define DELTA1660 CHOOSE(0, 1, 1, 0, 1, 1)	/* yn (3, 10.0) == -0.25136265718383732978  */
 #define DELTA1663 CHOOSE(2, 2, 1, 2, 2, 1)	/* yn (10, 0.1) == -0.11831335132045197885e19  */