about summary refs log tree commit diff
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
parenta9fe4c5aa8e53ee30f7d0a1c878391d5d6324e6e (diff)
downloadglibc-38755f14215920cc5d2260e596ed3f6603c30620.tar.gz
glibc-38755f14215920cc5d2260e596ed3f6603c30620.tar.xz
glibc-38755f14215920cc5d2260e596ed3f6603c30620.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--math/auto-libm-test-in4
-rw-r--r--math/auto-libm-test-out224
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps8
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps10
5 files changed, 251 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ff12a4d69..be1ce97249 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
 
+	* 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.
+
 	[BZ #18138]
 	* sysdeps/unix/sysv/linux/i386/sysdep.h (struct
 	libc_do_syscall_args): New structure.
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 070298da10..e7ba8624cb 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -128,6 +128,10 @@ asin 0x0.ffffffffffffp0
 asin -0x0.ffffffffffffp0
 asin 0x0.ffffffffffffffffp0
 asin -0x0.ffffffffffffffffp0
+asin -0x2.18915cp-4
+asin -0x3.746774p-4
+asin -0x3.1c54d10e5c844p-4
+asin 0xf.c9675fa6fe69f12p-4
 asin min
 asin -min
 asin min_subnorm
diff --git a/math/auto-libm-test-out b/math/auto-libm-test-out
index 2861ea85f9..5142886b1a 100644
--- a/math/auto-libm-test-out
+++ b/math/auto-libm-test-out
@@ -4028,6 +4028,230 @@ asin -0x0.ffffffffffffffffp0
 = asin tonearest ldbl-128ibm -0xf.fffffffffffffffp-4L : -0x1.921fb542d8c79e0195cffc0e308p+0L : inexact-ok
 = asin towardzero ldbl-128ibm -0xf.fffffffffffffffp-4L : -0x1.921fb542d8c79e0195cffc0e308p+0L : inexact-ok
 = asin upward ldbl-128ibm -0xf.fffffffffffffffp-4L : -0x1.921fb542d8c79e0195cffc0e308p+0L : inexact-ok
+asin -0x2.18915cp-4
+= asin downward flt-32 -0x2.18915cp-4f : -0x2.1a1d4cp-4f : inexact-ok
+= asin tonearest flt-32 -0x2.18915cp-4f : -0x2.1a1d48p-4f : inexact-ok
+= asin towardzero flt-32 -0x2.18915cp-4f : -0x2.1a1d48p-4f : inexact-ok
+= asin upward flt-32 -0x2.18915cp-4f : -0x2.1a1d48p-4f : inexact-ok
+= asin downward dbl-64 -0x2.18915cp-4 : -0x2.1a1d49f573ed2p-4 : inexact-ok
+= asin tonearest dbl-64 -0x2.18915cp-4 : -0x2.1a1d49f573edp-4 : inexact-ok
+= asin towardzero dbl-64 -0x2.18915cp-4 : -0x2.1a1d49f573edp-4 : inexact-ok
+= asin upward dbl-64 -0x2.18915cp-4 : -0x2.1a1d49f573edp-4 : inexact-ok
+= asin downward ldbl-96-intel -0x2.18915cp-4L : -0x2.1a1d49f573ed0f88p-4L : inexact-ok
+= asin tonearest ldbl-96-intel -0x2.18915cp-4L : -0x2.1a1d49f573ed0f88p-4L : inexact-ok
+= asin towardzero ldbl-96-intel -0x2.18915cp-4L : -0x2.1a1d49f573ed0f84p-4L : inexact-ok
+= asin upward ldbl-96-intel -0x2.18915cp-4L : -0x2.1a1d49f573ed0f84p-4L : inexact-ok
+= asin downward ldbl-96-m68k -0x2.18915cp-4L : -0x2.1a1d49f573ed0f88p-4L : inexact-ok
+= asin tonearest ldbl-96-m68k -0x2.18915cp-4L : -0x2.1a1d49f573ed0f88p-4L : inexact-ok
+= asin towardzero ldbl-96-m68k -0x2.18915cp-4L : -0x2.1a1d49f573ed0f84p-4L : inexact-ok
+= asin upward ldbl-96-m68k -0x2.18915cp-4L : -0x2.1a1d49f573ed0f84p-4L : inexact-ok
+= asin downward ldbl-128 -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa92ap-4L : inexact-ok
+= asin tonearest ldbl-128 -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa928p-4L : inexact-ok
+= asin towardzero ldbl-128 -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa928p-4L : inexact-ok
+= asin upward ldbl-128 -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa928p-4L : inexact-ok
+= asin downward ldbl-128ibm -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aaap-4L : inexact-ok
+= asin tonearest ldbl-128ibm -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa9p-4L : inexact-ok
+= asin towardzero ldbl-128ibm -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa9p-4L : inexact-ok
+= asin upward ldbl-128ibm -0x2.18915cp-4L : -0x2.1a1d49f573ed0f87239cf32aa9p-4L : inexact-ok
+asin -0x3.746774p-4
+= asin downward flt-32 -0x3.746774p-4f : -0x3.7b6ca8p-4f : inexact-ok
+= asin tonearest flt-32 -0x3.746774p-4f : -0x3.7b6ca4p-4f : inexact-ok
+= asin towardzero flt-32 -0x3.746774p-4f : -0x3.7b6ca4p-4f : inexact-ok
+= asin upward flt-32 -0x3.746774p-4f : -0x3.7b6ca4p-4f : inexact-ok
+= asin downward dbl-64 -0x3.746774p-4 : -0x3.7b6ca46d29854p-4 : inexact-ok
+= asin tonearest dbl-64 -0x3.746774p-4 : -0x3.7b6ca46d29854p-4 : inexact-ok
+= asin towardzero dbl-64 -0x3.746774p-4 : -0x3.7b6ca46d29852p-4 : inexact-ok
+= asin upward dbl-64 -0x3.746774p-4 : -0x3.7b6ca46d29852p-4 : inexact-ok
+= asin downward ldbl-96-intel -0x3.746774p-4L : -0x3.7b6ca46d29853fc8p-4L : inexact-ok
+= asin tonearest ldbl-96-intel -0x3.746774p-4L : -0x3.7b6ca46d29853fc4p-4L : inexact-ok
+= asin towardzero ldbl-96-intel -0x3.746774p-4L : -0x3.7b6ca46d29853fc4p-4L : inexact-ok
+= asin upward ldbl-96-intel -0x3.746774p-4L : -0x3.7b6ca46d29853fc4p-4L : inexact-ok
+= asin downward ldbl-96-m68k -0x3.746774p-4L : -0x3.7b6ca46d29853fc8p-4L : inexact-ok
+= asin tonearest ldbl-96-m68k -0x3.746774p-4L : -0x3.7b6ca46d29853fc4p-4L : inexact-ok
+= asin towardzero ldbl-96-m68k -0x3.746774p-4L : -0x3.7b6ca46d29853fc4p-4L : inexact-ok
+= asin upward ldbl-96-m68k -0x3.746774p-4L : -0x3.7b6ca46d29853fc4p-4L : inexact-ok
+= asin downward ldbl-128 -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af92053ep-4L : inexact-ok
+= asin tonearest ldbl-128 -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af92053ep-4L : inexact-ok
+= asin towardzero ldbl-128 -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af92053cp-4L : inexact-ok
+= asin upward ldbl-128 -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af92053cp-4L : inexact-ok
+= asin downward ldbl-128ibm -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af9206p-4L : inexact-ok
+= asin tonearest ldbl-128ibm -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af9205p-4L : inexact-ok
+= asin towardzero ldbl-128ibm -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af9205p-4L : inexact-ok
+= asin upward ldbl-128ibm -0x3.746774p-4L : -0x3.7b6ca46d29853fc564f8af9205p-4L : inexact-ok
+asin -0x3.1c54d10e5c844p-4
+= asin downward flt-32 -0x3.1c54dp-4f : -0x3.216f6cp-4f : inexact-ok
+= asin tonearest flt-32 -0x3.1c54dp-4f : -0x3.216f68p-4f : inexact-ok
+= asin towardzero flt-32 -0x3.1c54dp-4f : -0x3.216f68p-4f : inexact-ok
+= asin upward flt-32 -0x3.1c54dp-4f : -0x3.216f68p-4f : inexact-ok
+= asin downward dbl-64 -0x3.1c54dp-4 : -0x3.216f69a38d3c4p-4 : inexact-ok
+= asin tonearest dbl-64 -0x3.1c54dp-4 : -0x3.216f69a38d3c4p-4 : inexact-ok
+= asin towardzero dbl-64 -0x3.1c54dp-4 : -0x3.216f69a38d3c2p-4 : inexact-ok
+= asin upward dbl-64 -0x3.1c54dp-4 : -0x3.216f69a38d3c2p-4 : inexact-ok
+= asin downward ldbl-96-intel -0x3.1c54dp-4L : -0x3.216f69a38d3c37a4p-4L : inexact-ok
+= asin tonearest ldbl-96-intel -0x3.1c54dp-4L : -0x3.216f69a38d3c37a4p-4L : inexact-ok
+= asin towardzero ldbl-96-intel -0x3.1c54dp-4L : -0x3.216f69a38d3c37ap-4L : inexact-ok
+= asin upward ldbl-96-intel -0x3.1c54dp-4L : -0x3.216f69a38d3c37ap-4L : inexact-ok
+= asin downward ldbl-96-m68k -0x3.1c54dp-4L : -0x3.216f69a38d3c37a4p-4L : inexact-ok
+= asin tonearest ldbl-96-m68k -0x3.1c54dp-4L : -0x3.216f69a38d3c37a4p-4L : inexact-ok
+= asin towardzero ldbl-96-m68k -0x3.1c54dp-4L : -0x3.216f69a38d3c37ap-4L : inexact-ok
+= asin upward ldbl-96-m68k -0x3.1c54dp-4L : -0x3.216f69a38d3c37ap-4L : inexact-ok
+= asin downward ldbl-128 -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be8692p-4L : inexact-ok
+= asin tonearest ldbl-128 -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be869p-4L : inexact-ok
+= asin towardzero ldbl-128 -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be869p-4L : inexact-ok
+= asin upward ldbl-128 -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be869p-4L : inexact-ok
+= asin downward ldbl-128ibm -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be87p-4L : inexact-ok
+= asin tonearest ldbl-128ibm -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be87p-4L : inexact-ok
+= asin towardzero ldbl-128ibm -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be86p-4L : inexact-ok
+= asin upward ldbl-128ibm -0x3.1c54dp-4L : -0x3.216f69a38d3c37a2637be7be86p-4L : inexact-ok
+= asin downward flt-32 -0x3.1c54d4p-4f : -0x3.216f7p-4f : inexact-ok
+= asin tonearest flt-32 -0x3.1c54d4p-4f : -0x3.216f6cp-4f : inexact-ok
+= asin towardzero flt-32 -0x3.1c54d4p-4f : -0x3.216f6cp-4f : inexact-ok
+= asin upward flt-32 -0x3.1c54d4p-4f : -0x3.216f6cp-4f : inexact-ok
+= asin downward dbl-64 -0x3.1c54d4p-4 : -0x3.216f6db77880ap-4 : inexact-ok
+= asin tonearest dbl-64 -0x3.1c54d4p-4 : -0x3.216f6db77880ap-4 : inexact-ok
+= asin towardzero dbl-64 -0x3.1c54d4p-4 : -0x3.216f6db778808p-4 : inexact-ok
+= asin upward dbl-64 -0x3.1c54d4p-4 : -0x3.216f6db778808p-4 : inexact-ok
+= asin downward ldbl-96-intel -0x3.1c54d4p-4L : -0x3.216f6db7788099p-4L : inexact-ok
+= asin tonearest ldbl-96-intel -0x3.1c54d4p-4L : -0x3.216f6db7788099p-4L : inexact-ok
+= asin towardzero ldbl-96-intel -0x3.1c54d4p-4L : -0x3.216f6db7788098fcp-4L : inexact-ok
+= asin upward ldbl-96-intel -0x3.1c54d4p-4L : -0x3.216f6db7788098fcp-4L : inexact-ok
+= asin downward ldbl-96-m68k -0x3.1c54d4p-4L : -0x3.216f6db7788099p-4L : inexact-ok
+= asin tonearest ldbl-96-m68k -0x3.1c54d4p-4L : -0x3.216f6db7788099p-4L : inexact-ok
+= asin towardzero ldbl-96-m68k -0x3.1c54d4p-4L : -0x3.216f6db7788098fcp-4L : inexact-ok
+= asin upward ldbl-96-m68k -0x3.1c54d4p-4L : -0x3.216f6db7788098fcp-4L : inexact-ok
+= asin downward ldbl-128 -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d57a4p-4L : inexact-ok
+= asin tonearest ldbl-128 -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d57a4p-4L : inexact-ok
+= asin towardzero ldbl-128 -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d57a2p-4L : inexact-ok
+= asin upward ldbl-128 -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d57a2p-4L : inexact-ok
+= asin downward ldbl-128ibm -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d58p-4L : inexact-ok
+= asin tonearest ldbl-128ibm -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d58p-4L : inexact-ok
+= asin towardzero ldbl-128ibm -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d57p-4L : inexact-ok
+= asin upward ldbl-128ibm -0x3.1c54d4p-4L : -0x3.216f6db7788098fedc7b703d57p-4L : inexact-ok
+= asin downward dbl-64 -0x3.1c54d10e5c844p-4 : -0x3.216f6ab72c15cp-4 : inexact-ok
+= asin tonearest dbl-64 -0x3.1c54d10e5c844p-4 : -0x3.216f6ab72c15ap-4 : inexact-ok
+= asin towardzero dbl-64 -0x3.1c54d10e5c844p-4 : -0x3.216f6ab72c15ap-4 : inexact-ok
+= asin upward dbl-64 -0x3.1c54d10e5c844p-4 : -0x3.216f6ab72c15ap-4 : inexact-ok
+= asin downward ldbl-96-intel -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe8p-4L : inexact-ok
+= asin tonearest ldbl-96-intel -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe4p-4L : inexact-ok
+= asin towardzero ldbl-96-intel -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe4p-4L : inexact-ok
+= asin upward ldbl-96-intel -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe4p-4L : inexact-ok
+= asin downward ldbl-96-m68k -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe8p-4L : inexact-ok
+= asin tonearest ldbl-96-m68k -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe4p-4L : inexact-ok
+= asin towardzero ldbl-96-m68k -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe4p-4L : inexact-ok
+= asin upward ldbl-96-m68k -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe4p-4L : inexact-ok
+= asin downward ldbl-128 -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcb9e6p-4L : inexact-ok
+= asin tonearest ldbl-128 -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcb9e4p-4L : inexact-ok
+= asin towardzero ldbl-128 -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcb9e4p-4L : inexact-ok
+= asin upward ldbl-128 -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcb9e4p-4L : inexact-ok
+= asin downward ldbl-128ibm -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcbap-4L : inexact-ok
+= asin tonearest ldbl-128ibm -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcbap-4L : inexact-ok
+= asin towardzero ldbl-128ibm -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcb9p-4L : inexact-ok
+= asin upward ldbl-128ibm -0x3.1c54d10e5c844p-4L : -0x3.216f6ab72c15afe5f7027efcb9p-4L : inexact-ok
+asin 0xf.c9675fa6fe69f12p-4
+= asin downward flt-32 0xf.c9676p-4f : 0x1.68477ap+0f : inexact-ok
+= asin tonearest flt-32 0xf.c9676p-4f : 0x1.68477cp+0f : inexact-ok
+= asin towardzero flt-32 0xf.c9676p-4f : 0x1.68477ap+0f : inexact-ok
+= asin upward flt-32 0xf.c9676p-4f : 0x1.68477cp+0f : inexact-ok
+= asin downward dbl-64 0xf.c9676p-4 : 0x1.68477b84d3958p+0 : inexact-ok
+= asin tonearest dbl-64 0xf.c9676p-4 : 0x1.68477b84d3959p+0 : inexact-ok
+= asin towardzero dbl-64 0xf.c9676p-4 : 0x1.68477b84d3958p+0 : inexact-ok
+= asin upward dbl-64 0xf.c9676p-4 : 0x1.68477b84d3959p+0 : inexact-ok
+= asin downward ldbl-96-intel 0xf.c9676p-4L : 0x1.68477b84d3958a7ap+0L : inexact-ok
+= asin tonearest ldbl-96-intel 0xf.c9676p-4L : 0x1.68477b84d3958a7ap+0L : inexact-ok
+= asin towardzero ldbl-96-intel 0xf.c9676p-4L : 0x1.68477b84d3958a7ap+0L : inexact-ok
+= asin upward ldbl-96-intel 0xf.c9676p-4L : 0x1.68477b84d3958a7cp+0L : inexact-ok
+= asin downward ldbl-96-m68k 0xf.c9676p-4L : 0x1.68477b84d3958a7ap+0L : inexact-ok
+= asin tonearest ldbl-96-m68k 0xf.c9676p-4L : 0x1.68477b84d3958a7ap+0L : inexact-ok
+= asin towardzero ldbl-96-m68k 0xf.c9676p-4L : 0x1.68477b84d3958a7ap+0L : inexact-ok
+= asin upward ldbl-96-m68k 0xf.c9676p-4L : 0x1.68477b84d3958a7cp+0L : inexact-ok
+= asin downward ldbl-128 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f3547fap+0L : inexact-ok
+= asin tonearest ldbl-128 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f3547fap+0L : inexact-ok
+= asin towardzero ldbl-128 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f3547fap+0L : inexact-ok
+= asin upward ldbl-128 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f3547fbp+0L : inexact-ok
+= asin downward ldbl-128ibm 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f35478p+0L : inexact-ok
+= asin tonearest ldbl-128ibm 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f3548p+0L : inexact-ok
+= asin towardzero ldbl-128ibm 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f35478p+0L : inexact-ok
+= asin upward ldbl-128ibm 0xf.c9676p-4L : 0x1.68477b84d3958a7a34403f3548p+0L : inexact-ok
+= asin downward flt-32 0xf.c9675p-4f : 0x1.684774p+0f : inexact-ok
+= asin tonearest flt-32 0xf.c9675p-4f : 0x1.684776p+0f : inexact-ok
+= asin towardzero flt-32 0xf.c9675p-4f : 0x1.684774p+0f : inexact-ok
+= asin upward flt-32 0xf.c9675p-4f : 0x1.684776p+0f : inexact-ok
+= asin downward dbl-64 0xf.c9675p-4 : 0x1.6847755fa85f6p+0 : inexact-ok
+= asin tonearest dbl-64 0xf.c9675p-4 : 0x1.6847755fa85f6p+0 : inexact-ok
+= asin towardzero dbl-64 0xf.c9675p-4 : 0x1.6847755fa85f6p+0 : inexact-ok
+= asin upward dbl-64 0xf.c9675p-4 : 0x1.6847755fa85f7p+0 : inexact-ok
+= asin downward ldbl-96-intel 0xf.c9675p-4L : 0x1.6847755fa85f645cp+0L : inexact-ok
+= asin tonearest ldbl-96-intel 0xf.c9675p-4L : 0x1.6847755fa85f645cp+0L : inexact-ok
+= asin towardzero ldbl-96-intel 0xf.c9675p-4L : 0x1.6847755fa85f645cp+0L : inexact-ok
+= asin upward ldbl-96-intel 0xf.c9675p-4L : 0x1.6847755fa85f645ep+0L : inexact-ok
+= asin downward ldbl-96-m68k 0xf.c9675p-4L : 0x1.6847755fa85f645cp+0L : inexact-ok
+= asin tonearest ldbl-96-m68k 0xf.c9675p-4L : 0x1.6847755fa85f645cp+0L : inexact-ok
+= asin towardzero ldbl-96-m68k 0xf.c9675p-4L : 0x1.6847755fa85f645cp+0L : inexact-ok
+= asin upward ldbl-96-m68k 0xf.c9675p-4L : 0x1.6847755fa85f645ep+0L : inexact-ok
+= asin downward ldbl-128 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e473p+0L : inexact-ok
+= asin tonearest ldbl-128 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e474p+0L : inexact-ok
+= asin towardzero ldbl-128 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e473p+0L : inexact-ok
+= asin upward ldbl-128 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e474p+0L : inexact-ok
+= asin downward ldbl-128ibm 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e4p+0L : inexact-ok
+= asin tonearest ldbl-128ibm 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e48p+0L : inexact-ok
+= asin towardzero ldbl-128ibm 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e4p+0L : inexact-ok
+= asin upward ldbl-128ibm 0xf.c9675p-4L : 0x1.6847755fa85f645c45fe9c19e48p+0L : inexact-ok
+= asin downward dbl-64 0xf.c9675fa6fe6ap-4 : 0x1.68477b62a436cp+0 : inexact-ok
+= asin tonearest dbl-64 0xf.c9675fa6fe6ap-4 : 0x1.68477b62a436dp+0 : inexact-ok
+= asin towardzero dbl-64 0xf.c9675fa6fe6ap-4 : 0x1.68477b62a436cp+0 : inexact-ok
+= asin upward dbl-64 0xf.c9675fa6fe6ap-4 : 0x1.68477b62a436dp+0 : inexact-ok
+= asin downward ldbl-96-intel 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf16p+0L : inexact-ok
+= asin tonearest ldbl-96-intel 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf16p+0L : inexact-ok
+= asin towardzero ldbl-96-intel 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf16p+0L : inexact-ok
+= asin upward ldbl-96-intel 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf18p+0L : inexact-ok
+= asin downward ldbl-96-m68k 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf16p+0L : inexact-ok
+= asin tonearest ldbl-96-m68k 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf16p+0L : inexact-ok
+= asin towardzero ldbl-96-m68k 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf16p+0L : inexact-ok
+= asin upward ldbl-96-m68k 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf18p+0L : inexact-ok
+= asin downward ldbl-128 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75bf8p+0L : inexact-ok
+= asin tonearest ldbl-128 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75bf8p+0L : inexact-ok
+= asin towardzero ldbl-128 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75bf8p+0L : inexact-ok
+= asin upward ldbl-128 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75bf9p+0L : inexact-ok
+= asin downward ldbl-128ibm 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75b8p+0L : inexact-ok
+= asin tonearest ldbl-128ibm 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75cp+0L : inexact-ok
+= asin towardzero ldbl-128ibm 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75b8p+0L : inexact-ok
+= asin upward ldbl-128ibm 0xf.c9675fa6fe6ap-4L : 0x1.68477b62a436cf166e28d3e75cp+0L : inexact-ok
+= asin downward dbl-64 0xf.c9675fa6fe698p-4 : 0x1.68477b62a4369p+0 : inexact-ok
+= asin tonearest dbl-64 0xf.c9675fa6fe698p-4 : 0x1.68477b62a436ap+0 : inexact-ok
+= asin towardzero dbl-64 0xf.c9675fa6fe698p-4 : 0x1.68477b62a4369p+0 : inexact-ok
+= asin upward dbl-64 0xf.c9675fa6fe698p-4 : 0x1.68477b62a436ap+0 : inexact-ok
+= asin downward ldbl-96-intel 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369decp+0L : inexact-ok
+= asin tonearest ldbl-96-intel 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369deep+0L : inexact-ok
+= asin towardzero ldbl-96-intel 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369decp+0L : inexact-ok
+= asin upward ldbl-96-intel 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369deep+0L : inexact-ok
+= asin downward ldbl-96-m68k 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369decp+0L : inexact-ok
+= asin tonearest ldbl-96-m68k 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369deep+0L : inexact-ok
+= asin towardzero ldbl-96-m68k 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369decp+0L : inexact-ok
+= asin upward ldbl-96-m68k 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369deep+0L : inexact-ok
+= asin downward ldbl-128 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f733738p+0L : inexact-ok
+= asin tonearest ldbl-128 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f733739p+0L : inexact-ok
+= asin towardzero ldbl-128 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f733738p+0L : inexact-ok
+= asin upward ldbl-128 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f733739p+0L : inexact-ok
+= asin downward ldbl-128ibm 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f7337p+0L : inexact-ok
+= asin tonearest ldbl-128ibm 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f7337p+0L : inexact-ok
+= asin towardzero ldbl-128ibm 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f7337p+0L : inexact-ok
+= asin upward ldbl-128ibm 0xf.c9675fa6fe698p-4L : 0x1.68477b62a4369ded110b8f73378p+0L : inexact-ok
+= asin downward ldbl-96-intel 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95ep+0L : inexact-ok
+= asin tonearest ldbl-96-intel 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c96p+0L : inexact-ok
+= asin towardzero ldbl-96-intel 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95ep+0L : inexact-ok
+= asin upward ldbl-96-intel 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c96p+0L : inexact-ok
+= asin downward ldbl-96-m68k 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95ep+0L : inexact-ok
+= asin tonearest ldbl-96-m68k 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c96p+0L : inexact-ok
+= asin towardzero ldbl-96-m68k 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95ep+0L : inexact-ok
+= asin upward ldbl-96-m68k 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c96p+0L : inexact-ok
+= asin downward ldbl-128 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d9c2p+0L : inexact-ok
+= asin tonearest ldbl-128 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d9c3p+0L : inexact-ok
+= asin towardzero ldbl-128 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d9c2p+0L : inexact-ok
+= asin upward ldbl-128 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d9c3p+0L : inexact-ok
+= asin downward ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d98p+0L : inexact-ok
+= asin tonearest ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32dap+0L : inexact-ok
+= asin towardzero ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d98p+0L : inexact-ok
+= asin upward ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32dap+0L : inexact-ok
 asin min
 = asin downward flt-32 0x4p-128f : 0x4p-128f : inexact-ok underflow-ok errno-erange-ok
 = asin tonearest flt-32 0x4p-128f : 0x4p-128f : inexact-ok underflow-ok errno-erange-ok
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 3eb9d8216d..13ffff777c 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 f221ebc7d0..dff3c2e756 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