Add another test of asin [committed]

Message ID alpine.DEB.2.10.1503252157310.22480@digraph.polyomino.org.uk
State Committed
Headers

Commit Message

Joseph Myers March 25, 2015, 9:57 p.m. UTC
  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.
  

Patch

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