about summary refs log tree commit diff
path: root/math/auto-libm-test-in
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 /math/auto-libm-test-in
parent80352c01c16901f3f025a190dfb82345e8ea4662 (diff)
downloadglibc-da0cf658c6758d2e6d1b1b99312f66150ccc7a43.tar.gz
glibc-da0cf658c6758d2e6d1b1b99312f66150ccc7a43.tar.xz
glibc-da0cf658c6758d2e6d1b1b99312f66150ccc7a43.zip
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 'math/auto-libm-test-in')
-rw-r--r--math/auto-libm-test-in4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index ffb26304b1..9cf1f583ed 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -442,6 +442,10 @@ cbrt 0.75
 cbrt 0x1p16383
 cbrt 0x1p-16383
 cbrt 1e5
+cbrt 0x3.132634p+0
+cbrt -0xc.8d0442f2f0d1p-492
+cbrt -0xa.6b142p+40
+cbrt -0x1.f28ab85f3580ap-128
 cbrt max
 cbrt -max
 cbrt min