This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add another test of asin [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 25 Mar 2015 21:57:51 +0000
- Subject: Add another test of asin [committed]
- Authentication-results: sourceware.org; auth=none
This patch adds a randomly-generated test of asin that is observed to
increase ulps on x86_64.
Tested for x86_64 and x86 and ulps updated accordingly. Committed.
(auto-libm-test-out diffs omitted below.)
2015-03-25 Joseph Myers <joseph@codesourcery.com>
* math/auto-libm-test-in: Add another test of asin.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index e7ba862..5dd3237 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -132,6 +132,7 @@ asin -0x2.18915cp-4
asin -0x3.746774p-4
asin -0x3.1c54d10e5c844p-4
asin 0xf.c9675fa6fe69f12p-4
+asin -0xa.fc5afp-4
asin min
asin -min
asin min_subnorm
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 13ffff7..4d0246a 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -38,8 +38,8 @@ ildouble: 1
ldouble: 1
Function: "asin_downward":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "asin_towardzero":
ildouble: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index dff3c2e..d0d8494 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -74,8 +74,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "asin_towardzero":
double: 1
--
Joseph S. Myers
joseph@codesourcery.com