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:42:37 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-02-17 18:42:37 +0000
commit2c51dfd05d75275b9a2d7be27e5b9544fe3c303f (patch)
treefa117e0f766d2200a6c72dec614a7282e6bfe1a1 /math/Makefile
parentfa2a3dd7a38df17dcf5f3d151141daa840904dce (diff)
downloadglibc-2c51dfd05d75275b9a2d7be27e5b9544fe3c303f.tar.gz
glibc-2c51dfd05d75275b9a2d7be27e5b9544fe3c303f.tar.xz
glibc-2c51dfd05d75275b9a2d7be27e5b9544fe3c303f.zip
Move tests of catan, catanh to auto-libm-test-*.
This patch moves tests of catan and catanh with finite inputs (other
than the divide-by-zero cases producing an exact infinity) to using
the auto-libm-test machinery.  Each of auto-libm-test-out-catan and
auto-libm-test-out-catanh takes about three seconds to generate on my
system (so in fact it wasn't necessary after all to defer the move to
auto-libm-test-* until the output files were split up by function).

Tested for x86_64 and x86 and ulps updated accordingly.

	* math/auto-libm-test-in: Add tests of catan and catanh.
	* math/auto-libm-test-out-catan: New generated file.
	* math/auto-libm-test-out-catanh: Likewise.
	* math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
	Move tests with finite inputs, except divide-by-zero cases, to
	auto-libm-test-in.
	* math/libm-test-catanh.inc (catanh_test_data): Likewise.
	* math/Makefile (libm-test-funcs-auto): Add catan and catanh.
	(libm-test-funcs-noauto): Remove catan and catanh.
	* 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/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/math/Makefile b/math/Makefile
index 6ce76507bf..1941abcafd 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -213,23 +213,23 @@ $(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 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 \
-			 isfinite isgreater isgreaterequal isinf isless \
-			 islessequal islessgreater isnan isnormal issignaling \
-			 issubnormal isunordered iszero llogb llrint llround \
-			 logb lrint lround modf nearbyint nextafter nextdown \
-			 nexttoward nextup remainder remquo rint round \
-			 roundeven scalb scalbln scalbn setpayload \
-			 setpayloadsig signbit significand totalorder \
-			 totalordermag trunc ufromfp ufromfpx
+		       cacosh carg casin casinh catan catanh 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 ceil cimag conj copysign cproj creal \
+			 fabs fdim floor fmax fmaxmag fmin fminmag fmod \
+			 fpclassify frexp fromfp fromfpx getpayload ilogb \
+			 iscanonical iseqsig isfinite isgreater \
+			 isgreaterequal isinf isless islessequal \
+			 islessgreater isnan isnormal issignaling issubnormal \
+			 isunordered iszero llogb llrint llround logb lrint \
+			 lround modf nearbyint nextafter nextdown nexttoward \
+			 nextup remainder remquo rint round roundeven scalb \
+			 scalbln scalbn setpayload setpayloadsig signbit \
+			 significand totalorder totalordermag trunc ufromfp \
+			 ufromfpx
 libm-test-funcs-all = $(libm-test-funcs-auto) $(libm-test-funcs-noauto)
 libm-test-c-auto = $(foreach f,$(libm-test-funcs-auto),libm-test-$(f).c)
 libm-test-c-noauto = $(foreach f,$(libm-test-funcs-noauto),libm-test-$(f).c)