about summary refs log tree commit diff
path: root/math/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-02-17 18:14:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-02-17 18:14:02 +0000
commitfa2a3dd7a38df17dcf5f3d151141daa840904dce (patch)
tree1afc805fb1bcc514539428875586a73677410574 /math/Makefile
parent6b8303a383660a3c7b2792246c933f8a2234d712 (diff)
downloadglibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.tar.gz
glibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.tar.xz
glibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.zip
Move tests of casin, casinh to auto-libm-test-*.
This patch moves tests of casin and casinh with finite inputs to using
the auto-libm-test machinery.  Each of auto-libm-test-out-casin and
auto-libm-test-out-casinh takes about 38 minutes to generate on my
system because of MPC slowness on special cases that appear in the
tests (with MPC 1.0.3; I don't know to what extent current MPC master
might speed it up).

Tested for x86_64 and x86 and ulps updated accordingly.

	* math/auto-libm-test-in: Add tests of casin and casinh.
	* math/auto-libm-test-out-casin: New generated file.
	* math/auto-libm-test-out-casinh: Likewise.
	* math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
	Move tests with finite inputs to auto-libm-test-in.
	* math/libm-test-casinh.inc (casinh_test_data): Likewise.
	* math/Makefile (libm-test-funcs-auto): Add casin and casinh.
	(libm-test-funcs-noauto): Remove casin and casinh.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/math/Makefile b/math/Makefile
index fce793c334..6ce76507bf 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -213,11 +213,12 @@ $(objpfx)libm-test-ulps.h: $(ulps-file) gen-libm-test.pl
 	$(PERL) gen-libm-test.pl -u $< -H $@
 
 libm-test-funcs-auto = acos acosh asin asinh atan atan2 atanh cabs cacos \
-		       cacosh carg cbrt ccos ccosh cexp clog clog10 cos cosh \
-		       cpow csin csinh csqrt ctan ctanh erf erfc exp exp10 \
-		       exp2 expm1 fma hypot j0 j1 jn lgamma log log10 log1p \
-		       log2 pow sin sincos sinh sqrt tan tanh tgamma y0 y1 yn
-libm-test-funcs-noauto = canonicalize casin casinh catan catanh \
+		       cacosh carg casin casinh cbrt ccos ccosh cexp clog \
+		       clog10 cos cosh cpow csin csinh csqrt ctan ctanh erf \
+		       erfc exp exp10 exp2 expm1 fma hypot j0 j1 jn lgamma \
+		       log log10 log1p log2 pow sin sincos sinh sqrt tan tanh \
+		       tgamma y0 y1 yn
+libm-test-funcs-noauto = canonicalize catan catanh \
 			 ceil cimag conj copysign cproj creal fabs fdim floor \
 			 fmax fmaxmag fmin fminmag fmod fpclassify frexp \
 			 fromfp fromfpx getpayload ilogb iscanonical iseqsig \