Add another test of asin.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 25 Mar 2015 21:57:04 +0000 (21:57 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 25 Mar 2015 21:57:04 +0000 (21:57 +0000)
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.

ChangeLog
math/auto-libm-test-in
math/auto-libm-test-out
sysdeps/i386/fpu/libm-test-ulps
sysdeps/x86_64/fpu/libm-test-ulps

index 0a9e249..99adecc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
+
        * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
        Remove macro.
        (LLL_EBX_REG): Likewise.
index e7ba862..5dd3237 100644 (file)
@@ -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
index 5142886..89e9eff 100644 (file)
@@ -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
index 13ffff7..4d0246a 100644 (file)
@@ -38,8 +38,8 @@ ildouble: 1
 ldouble: 1
 
 Function: "asin_downward":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "asin_towardzero":
 ildouble: 1
index dff3c2e..d0d8494 100644 (file)
@@ -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