From fa2a3dd7a38df17dcf5f3d151141daa840904dce Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 17 Feb 2017 18:14:02 +0000 Subject: 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. --- math/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'math/Makefile') diff --git a/math/Makefile b/math/Makefile index fce793c..6ce7650 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 \ -- cgit v1.1