aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-25 17:53:58 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-25 17:53:58 +0000
commit38755f14215920cc5d2260e596ed3f6603c30620 (patch)
tree48f53f471c1968d3b331162168468bd3fcd9058c /sysdeps
parenta9fe4c5aa8e53ee30f7d0a1c878391d5d6324e6e (diff)
downloadglibc-38755f14215920cc5d2260e596ed3f6603c30620.zip
glibc-38755f14215920cc5d2260e596ed3f6603c30620.tar.gz
glibc-38755f14215920cc5d2260e596ed3f6603c30620.tar.bz2
Add more tests of asin.
This patch adds some randomly-generated tests of asin that are observed to increase ulps on x86_64. Tested for x86_64 and x86 and ulps updated accordingly. * math/auto-libm-test-in: Add more tests of asin. * math/auto-libm-test-out: Regenerated. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps8
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps10
2 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 3eb9d82..13ffff7 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -33,10 +33,18 @@ Function: "acosh_upward":
ildouble: 1
ldouble: 1
+Function: "asin":
+ildouble: 1
+ldouble: 1
+
Function: "asin_downward":
ildouble: 1
ldouble: 1
+Function: "asin_towardzero":
+ildouble: 1
+ldouble: 1
+
Function: "asin_upward":
double: 1
float: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index f221ebc..dff3c2e 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -63,6 +63,12 @@ ifloat: 1
ildouble: 1
ldouble: 1
+Function: "asin":
+float: 1
+ifloat: 1
+ildouble: 1
+ldouble: 1
+
Function: "asin_downward":
double: 1
float: 1
@@ -72,8 +78,12 @@ ildouble: 1
ldouble: 1
Function: "asin_towardzero":
+double: 1
float: 1
+idouble: 1
ifloat: 1
+ildouble: 1
+ldouble: 1
Function: "asin_upward":
double: 1