aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-04-08 17:56:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-04-08 17:56:15 +0000
commitda0cf658c6758d2e6d1b1b99312f66150ccc7a43 (patch)
tree080845ecc8ee9898c1ec3648d8c81992071882ed /sysdeps
parent80352c01c16901f3f025a190dfb82345e8ea4662 (diff)
downloadglibc-da0cf658c6758d2e6d1b1b99312f66150ccc7a43.zip
glibc-da0cf658c6758d2e6d1b1b99312f66150ccc7a43.tar.gz
glibc-da0cf658c6758d2e6d1b1b99312f66150ccc7a43.tar.bz2
Add more tests of cbrt.
This patch adds some randomly-generated tests of cbrt 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 cbrt. * math/auto-libm-test-out: Regenerated. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps18
1 files changed, 10 insertions, 8 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 7618316..deac26f 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -638,31 +638,33 @@ ildouble: 1
ldouble: 1
Function: "cbrt":
-double: 1
+double: 3
float: 1
-idouble: 1
+idouble: 3
ifloat: 1
ildouble: 1
ldouble: 1
Function: "cbrt_downward":
-double: 2
+double: 4
float: 1
-idouble: 2
+idouble: 4
ifloat: 1
ildouble: 1
ldouble: 1
Function: "cbrt_towardzero":
-double: 2
-idouble: 2
+double: 3
+float: 1
+idouble: 3
+ifloat: 1
ildouble: 1
ldouble: 1
Function: "cbrt_upward":
-double: 3
+double: 4
float: 1
-idouble: 3
+idouble: 4
ifloat: 1
ildouble: 1
ldouble: 1