about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-25 21:57:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-25 21:57:04 +0000
commite9b1015112405ec5fda3d2939b5d1ee0406e755d (patch)
tree9867b6405db13c64edf68e8fe34012823fa68f0c /math
parent9fa55373e1c27f2e5f3f2e0643040049b4243c05 (diff)
downloadglibc-e9b1015112405ec5fda3d2939b5d1ee0406e755d.tar.gz
glibc-e9b1015112405ec5fda3d2939b5d1ee0406e755d.tar.xz
glibc-e9b1015112405ec5fda3d2939b5d1ee0406e755d.zip
Add another test of asin.
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.

	* 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.
Diffstat (limited to 'math')
-rw-r--r--math/auto-libm-test-in1
-rw-r--r--math/auto-libm-test-out25
2 files changed, 26 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index e7ba8624cb..5dd32371a5 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/math/auto-libm-test-out b/math/auto-libm-test-out
index 5142886b1a..89e9effb8b 100644
--- a/math/auto-libm-test-out
+++ b/math/auto-libm-test-out
@@ -4252,6 +4252,31 @@ asin 0xf.c9675fa6fe69f12p-4
 = 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 -0xa.fc5afp-4
+= asin downward flt-32 -0xa.fc5afp-4f : -0xc.1beb4p-4f : inexact-ok
+= asin tonearest flt-32 -0xa.fc5afp-4f : -0xc.1beb3p-4f : inexact-ok
+= asin towardzero flt-32 -0xa.fc5afp-4f : -0xc.1beb3p-4f : inexact-ok
+= asin upward flt-32 -0xa.fc5afp-4f : -0xc.1beb3p-4f : inexact-ok
+= asin downward dbl-64 -0xa.fc5afp-4 : -0xc.1beb36c9491dp-4 : inexact-ok
+= asin tonearest dbl-64 -0xa.fc5afp-4 : -0xc.1beb36c9491dp-4 : inexact-ok
+= asin towardzero dbl-64 -0xa.fc5afp-4 : -0xc.1beb36c9491c8p-4 : inexact-ok
+= asin upward dbl-64 -0xa.fc5afp-4 : -0xc.1beb36c9491c8p-4 : inexact-ok
+= asin downward ldbl-96-intel -0xa.fc5afp-4L : -0xc.1beb36c9491cd55p-4L : inexact-ok
+= asin tonearest ldbl-96-intel -0xa.fc5afp-4L : -0xc.1beb36c9491cd54p-4L : inexact-ok
+= asin towardzero ldbl-96-intel -0xa.fc5afp-4L : -0xc.1beb36c9491cd54p-4L : inexact-ok
+= asin upward ldbl-96-intel -0xa.fc5afp-4L : -0xc.1beb36c9491cd54p-4L : inexact-ok
+= asin downward ldbl-96-m68k -0xa.fc5afp-4L : -0xc.1beb36c9491cd55p-4L : inexact-ok
+= asin tonearest ldbl-96-m68k -0xa.fc5afp-4L : -0xc.1beb36c9491cd54p-4L : inexact-ok
+= asin towardzero ldbl-96-m68k -0xa.fc5afp-4L : -0xc.1beb36c9491cd54p-4L : inexact-ok
+= asin upward ldbl-96-m68k -0xa.fc5afp-4L : -0xc.1beb36c9491cd54p-4L : inexact-ok
+= asin downward ldbl-128 -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87256c8p-4L : inexact-ok
+= asin tonearest ldbl-128 -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87256c8p-4L : inexact-ok
+= asin towardzero ldbl-128 -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87256cp-4L : inexact-ok
+= asin upward ldbl-128 -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87256cp-4L : inexact-ok
+= asin downward ldbl-128ibm -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87258p-4L : inexact-ok
+= asin tonearest ldbl-128ibm -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87258p-4L : inexact-ok
+= asin towardzero ldbl-128ibm -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87254p-4L : inexact-ok
+= asin upward ldbl-128ibm -0xa.fc5afp-4L : -0xc.1beb36c9491cd54007aee87254p-4L : 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