diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-03-25 21:57:04 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-03-25 21:57:04 +0000 |
commit | e9b1015112405ec5fda3d2939b5d1ee0406e755d (patch) | |
tree | 9867b6405db13c64edf68e8fe34012823fa68f0c | |
parent | 9fa55373e1c27f2e5f3f2e0643040049b4243c05 (diff) | |
download | glibc-e9b1015112405ec5fda3d2939b5d1ee0406e755d.zip glibc-e9b1015112405ec5fda3d2939b5d1ee0406e755d.tar.gz glibc-e9b1015112405ec5fda3d2939b5d1ee0406e755d.tar.bz2 |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | math/auto-libm-test-in | 1 | ||||
-rw-r--r-- | math/auto-libm-test-out | 25 | ||||
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 4 |
5 files changed, 35 insertions, 4 deletions
@@ -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. 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/math/auto-libm-test-out b/math/auto-libm-test-out index 5142886..89e9eff 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 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 |