aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-04-08 17:46:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-04-08 17:46:07 +0000
commit80352c01c16901f3f025a190dfb82345e8ea4662 (patch)
treee1ab036e072fabe5a2a0c653e43322a818ec0b3a /sysdeps/i386
parent8431838dde9187c061ac64b8d61290e8de021dda (diff)
downloadglibc-80352c01c16901f3f025a190dfb82345e8ea4662.tar
glibc-80352c01c16901f3f025a190dfb82345e8ea4662.tar.gz
glibc-80352c01c16901f3f025a190dfb82345e8ea4662.tar.bz2
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/i386')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 538a549de3..924abc912d 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -155,6 +155,22 @@ ifloat: 1
ildouble: 4
ldouble: 4
+Function: "cabs":
+ildouble: 1
+ldouble: 1
+
+Function: "cabs_downward":
+ildouble: 1
+ldouble: 1
+
+Function: "cabs_towardzero":
+ildouble: 1
+ldouble: 1
+
+Function: "cabs_upward":
+ildouble: 1
+ldouble: 1
+
Function: Real part of "cacos":
double: 1
float: 1