summary refs log tree commit diff
path: root/sysdeps/i386/fpu/libm-test-ulps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-11-04 00:45:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-11-04 00:45:23 +0000
commit199a3386544527d63aa95386f06db62a65b071cf (patch)
tree165d45242f32acd7af5532540a7ae2a8e35dcb6a /sysdeps/i386/fpu/libm-test-ulps
parent8ba14398e629c1f63b9c91a59a47a713b3cce8bc (diff)
downloadglibc-199a3386544527d63aa95386f06db62a65b071cf.tar.gz
glibc-199a3386544527d63aa95386f06db62a65b071cf.tar.xz
glibc-199a3386544527d63aa95386f06db62a65b071cf.zip
Add more libm tests (scalb*, signbit, sin, sincos, sinh, sqrt, tan, tanh, tgamma, y0, y1, yn, significand).
This patch improves the libm test coverage for a few more functions.

Tested for x86_64 and x86.

	* math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
	sqrt, tan, tanh, y0, y1 and yn.
	* math/auto-libm-test-out: Regenerated.
	* math/libm-test.inc (scalb_test_data): Add more tests.
	(scalbn_test_data): Likewise.
	(scalbln_test_data): Likewise.
	(signbit_test_data): Likewise.
	(sin_test_data): Likewise.
	(sincos_test_data): Likewise.
	(sinh_test_data): Likewise.
	(sqrt_test_data): Likewise.
	(tan_test_data): Likewise.
	(tanh_test_data): Likewise.
	(tgamma_test_data): Likewise.
	(y0_test_data): Likewise.
	(y1_test_data): Likewise.
	(yn_test_data): Likewise.
	(significand_test_data): Likewise.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
Diffstat (limited to 'sysdeps/i386/fpu/libm-test-ulps')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 438a390338..bbb644a591 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1962,7 +1962,7 @@ ildouble: 2
 ldouble: 2
 
 Function: "sinh_downward":
-double: 1
+double: 2
 float: 1
 idouble: 1
 ifloat: 1
@@ -1970,15 +1970,16 @@ ildouble: 4
 ldouble: 5
 
 Function: "sinh_towardzero":
-double: 1
+double: 2
+float: 1
 idouble: 1
 ifloat: 1
 ildouble: 3
 ldouble: 4
 
 Function: "sinh_upward":
-double: 1
-float: 1
+double: 4
+float: 2
 idouble: 1
 ifloat: 1
 ildouble: 4