diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-02-17 17:44:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-02-17 17:44:23 +0000 |
commit | 6b8303a383660a3c7b2792246c933f8a2234d712 (patch) | |
tree | 7f81fdd2e58cfee01e76a4b50eca06a8882b1e29 /math/Makefile | |
parent | f7a51347a4e369fcc51e867ef03826e99acc4fdc (diff) | |
download | glibc-6b8303a383660a3c7b2792246c933f8a2234d712.tar glibc-6b8303a383660a3c7b2792246c933f8a2234d712.tar.gz glibc-6b8303a383660a3c7b2792246c933f8a2234d712.tar.bz2 glibc-6b8303a383660a3c7b2792246c933f8a2234d712.zip |
Move tests of cacos, cacosh to auto-libm-test-*.
This patch moves tests of cacos and cacosh with finite inputs to using
the auto-libm-test machinery. Each of auto-libm-test-out-cacos and
auto-libm-test-out-cacosh takes about 80 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 cacos and cacosh.
* math/auto-libm-test-out-cacos: New generated file.
* math/auto-libm-test-out-cacosh: Likewise.
* math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
Move tests with finite inputs to auto-libm-test-in.
* math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
* math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
(libm-test-funcs-noauto): Remove cacos and cacosh.
* 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/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/math/Makefile b/math/Makefile index 273521223c..fce793c334 100644 --- a/math/Makefile +++ b/math/Makefile @@ -212,12 +212,12 @@ $(objpfx)libm-test-ulps.h: $(ulps-file) gen-libm-test.pl $(make-target-directory) $(PERL) gen-libm-test.pl -u $< -H $@ -libm-test-funcs-auto = acos acosh asin asinh atan atan2 atanh cabs 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 = cacos cacosh canonicalize casin casinh catan catanh \ +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 \ ceil cimag conj copysign cproj creal fabs fdim floor \ fmax fmaxmag fmin fminmag fmod fpclassify frexp \ fromfp fromfpx getpayload ilogb iscanonical iseqsig \ |