diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-04-08 17:46:07 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-04-08 17:46:07 +0000 |
commit | 80352c01c16901f3f025a190dfb82345e8ea4662 (patch) | |
tree | e1ab036e072fabe5a2a0c653e43322a818ec0b3a /sysdeps/x86_64 | |
parent | 8431838dde9187c061ac64b8d61290e8de021dda (diff) | |
download | glibc-80352c01c16901f3f025a190dfb82345e8ea4662.tar.gz glibc-80352c01c16901f3f025a190dfb82345e8ea4662.tar.xz glibc-80352c01c16901f3f025a190dfb82345e8ea4662.zip |
Add more tests of cabs.
This patch adds some randomly-generated tests of cabs 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 cabs. * 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')
-rw-r--r-- | sysdeps/x86_64/fpu/libm-test-ulps | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index d0aea07d62..7618316e26 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -211,6 +211,30 @@ ifloat: 3 ildouble: 4 ldouble: 4 +Function: "cabs": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + +Function: "cabs_downward": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + +Function: "cabs_towardzero": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + +Function: "cabs_upward": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + Function: Real part of "cacos": double: 1 float: 2 |