diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-04-08 21:13:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-04-08 21:13:35 +0000 |
commit | 787d22bce6a345690641a226809b8ade3fa1db8d (patch) | |
tree | 65c3c3726dfecc14270bfe0fcd41477448bd84bb /sysdeps | |
parent | 024bcc5106a48307e2efc42ab85b3bbec6958163 (diff) | |
download | glibc-787d22bce6a345690641a226809b8ade3fa1db8d.zip glibc-787d22bce6a345690641a226809b8ade3fa1db8d.tar.gz glibc-787d22bce6a345690641a226809b8ade3fa1db8d.tar.bz2 |
Add more tests of atanh.
This patch adds some randomly-generated tests of atanh 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 atanh.
* 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')
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 6 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index e3554ed..6a036f5 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -135,14 +135,14 @@ ldouble: 1 Function: "atanh": ildouble: 3 -ldouble: 2 +ldouble: 3 Function: "atanh_downward": double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 2 +ildouble: 3 ldouble: 4 Function: "atanh_towardzero": @@ -156,7 +156,7 @@ ldouble: 3 Function: "atanh_upward": idouble: 1 ifloat: 1 -ildouble: 4 +ildouble: 5 ldouble: 4 Function: "cabs": diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index 33e597a..5d9bc9b 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -190,8 +190,8 @@ double: 1 float: 1 idouble: 1 ifloat: 1 -ildouble: 2 -ldouble: 2 +ildouble: 3 +ldouble: 3 Function: "atanh_downward": double: 2 @@ -202,9 +202,9 @@ ildouble: 5 ldouble: 5 Function: "atanh_towardzero": -double: 1 +double: 2 float: 2 -idouble: 1 +idouble: 2 ifloat: 2 ildouble: 4 ldouble: 4 |