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.
This commit is contained in:
Joseph Myers 2015-03-25 21:57:04 +00:00
parent 9fa55373e1
commit e9b1015112
5 changed files with 35 additions and 4 deletions

View File

@ -1,5 +1,10 @@
2015-03-25 Joseph Myers <joseph@codesourcery.com> 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): * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
Remove macro. Remove macro.
(LLL_EBX_REG): Likewise. (LLL_EBX_REG): Likewise.

View File

@ -132,6 +132,7 @@ asin -0x2.18915cp-4
asin -0x3.746774p-4 asin -0x3.746774p-4
asin -0x3.1c54d10e5c844p-4 asin -0x3.1c54d10e5c844p-4
asin 0xf.c9675fa6fe69f12p-4 asin 0xf.c9675fa6fe69f12p-4
asin -0xa.fc5afp-4
asin min asin min
asin -min asin -min
asin min_subnorm asin min_subnorm

View File

@ -4252,6 +4252,31 @@ asin 0xf.c9675fa6fe69f12p-4
= asin tonearest ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32dap+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 towardzero ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32d98p+0L : inexact-ok
= asin upward ldbl-128ibm 0xf.c9675fa6fe69f12p-4L : 0x1.68477b62a436c95fdf96ad32dap+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 min
= asin downward flt-32 0x4p-128f : 0x4p-128f : inexact-ok underflow-ok errno-erange-ok = 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 = asin tonearest flt-32 0x4p-128f : 0x4p-128f : inexact-ok underflow-ok errno-erange-ok

View File

@ -38,8 +38,8 @@ ildouble: 1
ldouble: 1 ldouble: 1
Function: "asin_downward": Function: "asin_downward":
ildouble: 1 ildouble: 2
ldouble: 1 ldouble: 2
Function: "asin_towardzero": Function: "asin_towardzero":
ildouble: 1 ildouble: 1

View File

@ -74,8 +74,8 @@ double: 1
float: 1 float: 1
idouble: 1 idouble: 1
ifloat: 1 ifloat: 1
ildouble: 1 ildouble: 2
ldouble: 1 ldouble: 2
Function: "asin_towardzero": Function: "asin_towardzero":
double: 1 double: 1