mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
93e448cbed
This patch improves test coverage of the real libm functions [a-e]*, ensuring that special cases and ranges of input values of potential significance (such as close to overflow and underflow thresholds) are more systematically covered. This is a followup to <https://sourceware.org/ml/libc-alpha/2013-12/msg00757.html> which covered [a-c]* (however, I found more weaknesses in the coverage of those functions when preparing this patch, hence the additional tests being added for them here). Addition of a test for acosh (-qNaN) is temporarily deferred, to be included as part of a fix for bug 19032 which was discovered in the course of adding these tests (and which illustrates the use of testing -qNaN as well as +qNaN as input even to functions for which the sign of a NaN isn't meant to be significant). Tested for x86_64 and x86. * math/auto-libm-test-in: Add more tests of acos, acosh, asin, atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2 and expm1. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (acos_test_data): Add more tests. (asin_test_data): Likewise. (asinh_test_data): Likewise. (atan_test_data): Likewise. (atanh_test_data): Likewise. (atan2_test_data): Likewise. (cbrt_test_data): Likewise. (ceil_test_data): Likewise. (copysign_test_data): Likewise. (cos_test_data): Likewise. (cosh_test_data): Likewise. (erf_test_data): Likewise. (erfc_test_data): Likewise. (exp_test_data): Likewise. (exp10_test_data): Likewise. (exp2_test_data): Likewise. (expm1_test_data): Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Update. |
||
---|---|---|
.. | ||
multiarch | ||
dla.h | ||
e_acosl.c | ||
e_atan2l.c | ||
e_exp2l.S | ||
e_exp10l.S | ||
e_expf.S | ||
e_expl.S | ||
e_fmodl.S | ||
e_ilogbl.S | ||
e_log2l.S | ||
e_log10l.S | ||
e_logl.S | ||
e_powl.S | ||
e_remainderl.S | ||
e_scalbl.S | ||
e_sqrt.c | ||
e_sqrtf.c | ||
e_sqrtl.c | ||
fclrexcpt.c | ||
fedisblxcpt.c | ||
feenablxcpt.c | ||
fegetenv.c | ||
fegetexcept.c | ||
fegetround.c | ||
feholdexcpt.c | ||
fesetenv.c | ||
fesetround.c | ||
feupdateenv.c | ||
fgetexcptflg.c | ||
fraiseexcpt.c | ||
fsetexcptflg.c | ||
ftestexcept.c | ||
Implies | ||
k_rem_pio2l.c | ||
libm-test-ulps | ||
Makefile | ||
math_ldbl.h | ||
math_private.h | ||
math-tests-arch.h | ||
printf_fphex.c | ||
s_atanl.c | ||
s_ceill.S | ||
s_copysign.S | ||
s_copysignf.S | ||
s_copysignl.S | ||
s_cosf.S | ||
s_expm1l.S | ||
s_fabs.c | ||
s_fabsf.c | ||
s_fabsl.S | ||
s_fdiml.S | ||
s_finitel.S | ||
s_floorl.S | ||
s_fmax.S | ||
s_fmaxf.S | ||
s_fmaxl.S | ||
s_fmin.S | ||
s_fminf.S | ||
s_fminl.S | ||
s_fpclassifyl.c | ||
s_isinfl.c | ||
s_isnanl.c | ||
s_llrint.S | ||
s_llrintf.S | ||
s_llrintl.S | ||
s_log1pl.S | ||
s_logbl.c | ||
s_lrint.S | ||
s_lrintf.S | ||
s_lrintl.S | ||
s_nearbyintl.S | ||
s_nextafterl.c | ||
s_nexttoward.c | ||
s_nexttowardf.c | ||
s_rintl.c | ||
s_scalbnl.S | ||
s_signbit.S | ||
s_signbitf.S | ||
s_significandl.c | ||
s_sincosf.S | ||
s_sinf.S | ||
s_truncl.S | ||
svml_d_cos2_core.S | ||
svml_d_cos4_core_avx.S | ||
svml_d_cos4_core.S | ||
svml_d_cos8_core.S | ||
svml_d_exp2_core.S | ||
svml_d_exp4_core_avx.S | ||
svml_d_exp4_core.S | ||
svml_d_exp8_core.S | ||
svml_d_exp_data.h | ||
svml_d_exp_data.S | ||
svml_d_log2_core.S | ||
svml_d_log4_core_avx.S | ||
svml_d_log4_core.S | ||
svml_d_log8_core.S | ||
svml_d_log_data.h | ||
svml_d_log_data.S | ||
svml_d_pow2_core.S | ||
svml_d_pow4_core_avx.S | ||
svml_d_pow4_core.S | ||
svml_d_pow8_core.S | ||
svml_d_pow_data.h | ||
svml_d_pow_data.S | ||
svml_d_sin2_core.S | ||
svml_d_sin4_core_avx.S | ||
svml_d_sin4_core.S | ||
svml_d_sin8_core.S | ||
svml_d_sincos2_core.S | ||
svml_d_sincos4_core_avx.S | ||
svml_d_sincos4_core.S | ||
svml_d_sincos8_core.S | ||
svml_d_trig_data.h | ||
svml_d_trig_data.S | ||
svml_d_wrapper_impl.h | ||
svml_s_cosf4_core.S | ||
svml_s_cosf8_core_avx.S | ||
svml_s_cosf8_core.S | ||
svml_s_cosf16_core.S | ||
svml_s_expf4_core.S | ||
svml_s_expf8_core_avx.S | ||
svml_s_expf8_core.S | ||
svml_s_expf16_core.S | ||
svml_s_expf_data.h | ||
svml_s_expf_data.S | ||
svml_s_logf4_core.S | ||
svml_s_logf8_core_avx.S | ||
svml_s_logf8_core.S | ||
svml_s_logf16_core.S | ||
svml_s_logf_data.h | ||
svml_s_logf_data.S | ||
svml_s_powf4_core.S | ||
svml_s_powf8_core_avx.S | ||
svml_s_powf8_core.S | ||
svml_s_powf16_core.S | ||
svml_s_powf_data.h | ||
svml_s_powf_data.S | ||
svml_s_sincosf4_core.S | ||
svml_s_sincosf8_core_avx.S | ||
svml_s_sincosf8_core.S | ||
svml_s_sincosf16_core.S | ||
svml_s_sinf4_core.S | ||
svml_s_sinf8_core_avx.S | ||
svml_s_sinf8_core.S | ||
svml_s_sinf16_core.S | ||
svml_s_trig_data.h | ||
svml_s_trig_data.S | ||
svml_s_wrapper_impl.h | ||
test-double-vlen2-wrappers.c | ||
test-double-vlen2.c | ||
test-double-vlen4-avx2-wrappers.c | ||
test-double-vlen4-avx2.c | ||
test-double-vlen4-wrappers.c | ||
test-double-vlen4.c | ||
test-double-vlen8-wrappers.c | ||
test-double-vlen8.c | ||
test-float-vlen4-wrappers.c | ||
test-float-vlen4.c | ||
test-float-vlen8-avx2-wrappers.c | ||
test-float-vlen8-avx2.c | ||
test-float-vlen8-wrappers.c | ||
test-float-vlen8.c | ||
test-float-vlen16-wrappers.c | ||
test-float-vlen16.c | ||
Versions | ||
x86_64-math-asm.h |