diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-03-25 00:30:10 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-03-25 00:30:10 +0000 |
commit | 8d6439712db3de86939bd4d3784562778cefcadc (patch) | |
tree | f4ebfdc44f529b273b43064b02c27ff07197aa32 /sysdeps/x86_64/fpu | |
parent | bc899ea0901b8163b03f0d7ffb2cf2c88fb3e649 (diff) | |
download | glibc-8d6439712db3de86939bd4d3784562778cefcadc.tar glibc-8d6439712db3de86939bd4d3784562778cefcadc.tar.gz glibc-8d6439712db3de86939bd4d3784562778cefcadc.tar.bz2 glibc-8d6439712db3de86939bd4d3784562778cefcadc.zip |
Add more tests of acos.
This patch adds some randomly-generated tests of acos that are
observed to increase ulps on x86_64.
Tested for x86_64 and x86 and ulps updated accordingly.
* math/auto-libm-test-in: Add more tests of acos.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps/x86_64/fpu')
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index 488ff36b6a..f221ebc7d0 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -2,26 +2,34 @@ # Maximal error of functions: Function: "acos": +float: 1 +ifloat: 1 ildouble: 1 ldouble: 1 Function: "acos_downward": +double: 1 float: 1 +idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: "acos_towardzero": +double: 1 float: 1 +idouble: 1 ifloat: 1 -ildouble: 1 -ldouble: 1 +ildouble: 2 +ldouble: 2 Function: "acos_upward": double: 1 +float: 1 idouble: 1 -ildouble: 1 -ldouble: 1 +ifloat: 1 +ildouble: 2 +ldouble: 2 Function: "acosh": double: 1 |