From 6f874bd4d4063cacd9edd7f7607fb929f0db218f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 24 Jun 2015 16:37:44 +0000 Subject: Move csin, csinh tests to auto-libm-test-in. This patch moves most tests of csin and csinh with finite inputs from libm-test.inc to auto-libm-test-in. The remaining two tests of each function with small arguments are not moved because moving them causes the time required by gen-auto-libm-tests to go up from under 8 seconds to over 11 minutes for me. (The current development version of MPC has had speed improvements for mpc_sin for some time, but there hasn't been a release containing those improvements yet.) Tested for x86_64 and x86. * math/auto-libm-test-in: Add more tests of csin and csinh. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (csin_test_data): Remove tests moved to auto-libm-test-in. (csinh_test_data): Likewise. --- math/auto-libm-test-in | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'math/auto-libm-test-in') diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 2389c051c4..89a2684598 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -955,16 +955,66 @@ cpow 0.75 1.25 1.0 1.0 xfail-rounding cpow 0.75 1.25 1.0 0.0 cpow 0.75 1.25 0.0 1.0 +csin 0.0 0.0 +csin -0 0.0 +csin 0.0 -0 +csin -0 -0 + +csin 0.75 1.25 +csin -2 -3 + +csin 0.75 89.5 +csin 0.75 -89.5 +csin -0.75 89.5 +csin -0.75 -89.5 +csin 0.75 710.5 +csin 0.75 -710.5 +csin -0.75 710.5 +csin -0.75 -710.5 +csin 0.75 11357.25 +csin 0.75 -11357.25 +csin -0.75 11357.25 +csin -0.75 -11357.25 + csin 0.75 1e6 csin 0.75 -1e6 csin -0.75 1e6 csin -0.75 -1e6 +csin 0x1p-149 180 +csin 0x1p-1074 1440 +csin 0x1p-16434 22730 + +csinh 0.0 0.0 +csinh -0 0.0 +csinh 0.0 -0 +csinh -0 -0 + +csinh 0.75 1.25 +csinh -2 -3 + +csinh 89.5 0.75 +csinh -89.5 0.75 +csinh 89.5 -0.75 +csinh -89.5 -0.75 +csinh 710.5 0.75 +csinh -710.5 0.75 +csinh 710.5 -0.75 +csinh -710.5 -0.75 +csinh 11357.25 0.75 +csinh -11357.25 0.75 +csinh 11357.25 -0.75 +csinh -11357.25 -0.75 + csinh 1e6 0.75 csinh -1e6 0.75 csinh 1e6 -0.75 csinh -1e6 -0.75 +csinh 180 0x1p-149 +csinh 1440 0x1p-1074 +csinh 22730 0x1p-16434 + csqrt 0 0 csqrt 0 -0 csqrt -0 0 -- cgit 1.4.1