Remove libm-test START_DATA and END_DATA.

This commit is contained in:
Joseph Myers 2013-05-24 13:10:42 +00:00
parent b679a606ca
commit e8bdba36c5
3 changed files with 172 additions and 347 deletions

172
ChangeLog
View File

@ -1,5 +1,177 @@
2013-05-24 Joseph Myers <joseph@codesourcery.com>
* math/gen-libm-test.pl (generate_testfile): Do not handle
START_DATA and END_DATA.
* math/libm-test.inc (acos_test_data): Do not use START_DATA and
END_DATA.
(acos_tonearest_test_data): Likewise.
(acos_towardzero_test_data): Likewise.
(acos_downward_test_data): Likewise.
(acos_upward_test_data): Likewise.
(acosh_test_data): Likewise.
(asin_test_data): Likewise.
(asin_tonearest_test_data): Likewise.
(asin_towardzero_test_data): Likewise.
(asin_downward_test_data): Likewise.
(asin_upward_test_data): Likewise.
(asinh_test_data): Likewise.
(atan_test_data): Likewise.
(atanh_test_data): Likewise.
(atan2_test_data): Likewise.
(cabs_test_data): Likewise.
(cacos_test_data): Likewise.
(cacosh_test_data): Likewise.
(carg_test_data): Likewise.
(casin_test_data): Likewise.
(casinh_test_data): Likewise.
(catan_test_data): Likewise.
(catanh_test_data): Likewise.
(cbrt_test_data): Likewise.
(ccos_test_data): Likewise.
(ccosh_test_data): Likewise.
(ceil_test_data): Likewise.
(cexp_test_data): Likewise.
(cimag_test_data): Likewise.
(clog_test_data): Likewise.
(clog10_test_data): Likewise.
(conj_test_data): Likewise.
(copysign_test_data): Likewise.
(cos_test_data): Likewise.
(cos_tonearest_test_data): Likewise.
(cos_towardzero_test_data): Likewise.
(cos_downward_test_data): Likewise.
(cos_upward_test_data): Likewise.
(cosh_test_data): Likewise.
(cosh_tonearest_test_data): Likewise.
(cosh_towardzero_test_data): Likewise.
(cosh_downward_test_data): Likewise.
(cosh_upward_test_data): Likewise.
(cpow_test_data): Likewise.
(cproj_test_data): Likewise.
(creal_test_data): Likewise.
(csin_test_data): Likewise.
(csinh_test_data): Likewise.
(csqrt_test_data): Likewise.
(ctan_test_data): Likewise.
(ctan_tonearest_test_data): Likewise.
(ctan_towardzero_test_data): Likewise.
(ctan_downward_test_data): Likewise.
(ctan_upward_test_data): Likewise.
(ctanh_test_data): Likewise.
(ctanh_tonearest_test_data): Likewise.
(ctanh_towardzero_test_data): Likewise.
(ctanh_downward_test_data): Likewise.
(ctanh_upward_test_data): Likewise.
(erf_test_data): Likewise.
(erfc_test_data): Likewise.
(exp_test_data): Likewise.
(exp_tonearest_test_data): Likewise.
(exp_towardzero_test_data): Likewise.
(exp_downward_test_data): Likewise.
(exp_upward_test_data): Likewise.
(exp10_test_data): Likewise.
(exp2_test_data): Likewise.
(expm1_test_data): Likewise.
(fabs_test_data): Likewise.
(fdim_test_data): Likewise.
(finite_test_data): Likewise.
(floor_test_data): Likewise.
(fma_test_data): Likewise.
(fma_towardzero_test_data): Likewise.
(fma_downward_test_data): Likewise.
(fma_upward_test_data): Likewise.
(fmax_test_data): Likewise.
(fmin_test_data): Likewise.
(fmod_test_data): Likewise.
(fpclassify_test_data): Likewise.
(frexp_test_data): Likewise.
(gamma_test_data): Likewise.
(hypot_test_data): Likewise.
(ilogb_test_data): Likewise.
(isfinite_test_data): Likewise.
(isgreater_test_data): Likewise.
(isgreaterequal_test_data): Likewise.
(isinf_test_data): Likewise.
(isless_test_data): Likewise.
(islessequal_test_data): Likewise.
(islessgreater_test_data): Likewise.
(isnan_test_data): Likewise.
(isnormal_test_data): Likewise.
(issignaling_test_data): Likewise.
(isunordered_test_data): Likewise.
(j0_test_data): Likewise.
(j1_test_data): Likewise.
(jn_test_data): Likewise.
(ldexp_test_data): Likewise.
(lgamma_test_data): Likewise.
(lrint_test_data): Likewise.
(lrint_tonearest_test_data): Likewise.
(lrint_towardzero_test_data): Likewise.
(lrint_downward_test_data): Likewise.
(lrint_upward_test_data): Likewise.
(llrint_test_data): Likewise.
(llrint_tonearest_test_data): Likewise.
(llrint_towardzero_test_data): Likewise.
(llrint_downward_test_data): Likewise.
(llrint_upward_test_data): Likewise.
(log_test_data): Likewise.
(log10_test_data): Likewise.
(log1p_test_data): Likewise.
(log2_test_data): Likewise.
(logb_test_data): Likewise.
(logb_downward_test_data): Likewise.
(lround_test_data): Likewise.
(llround_test_data): Likewise.
(modf_test_data): Likewise.
(nearbyint_test_data): Likewise.
(nextafter_test_data): Likewise.
(nexttoward_test_data): Likewise.
(pow_test_data): Likewise.
(pow_tonearest_test_data): Likewise.
(pow_towardzero_test_data): Likewise.
(pow_downward_test_data): Likewise.
(pow_upward_test_data): Likewise.
(remainder_test_data): Likewise.
(remainder_tonearest_test_data): Likewise.
(remainder_towardzero_test_data): Likewise.
(remainder_downward_test_data): Likewise.
(remainder_upward_test_data): Likewise.
(remquo_test_data): Likewise.
(rint_test_data): Likewise.
(rint_tonearest_test_data): Likewise.
(rint_towardzero_test_data): Likewise.
(rint_downward_test_data): Likewise.
(rint_upward_test_data): Likewise.
(round_test_data): Likewise.
(scalb_test_data): Likewise.
(scalbn_test_data): Likewise.
(scalbln_test_data): Likewise.
(signbit_test_data): Likewise.
(sin_test_data): Likewise.
(sin_tonearest_test_data): Likewise.
(sin_towardzero_test_data): Likewise.
(sin_downward_test_data): Likewise.
(sin_upward_test_data): Likewise.
(sincos_test_data): Likewise.
(sinh_test_data): Likewise.
(sinh_tonearest_test_data): Likewise.
(sinh_towardzero_test_data): Likewise.
(sinh_downward_test_data): Likewise.
(sinh_upward_test_data): Likewise.
(sqrt_test_data): Likewise.
(tan_test_data): Likewise.
(tan_tonearest_test_data): Likewise.
(tan_towardzero_test_data): Likewise.
(tan_downward_test_data): Likewise.
(tan_upward_test_data): Likewise.
(tanh_test_data): Likewise.
(tgamma_test_data): Likewise.
(trunc_test_data): Likewise.
(y0_test_data): Likewise.
(y1_test_data): Likewise.
(yn_test_data): Likewise.
(significand_test_data): Likewise.
* math/gen-libm-test.pl (@functions): Remove variable.
(generate_testfile): Don't handle START and END lines.
* math/libm-test.inc (START): New macro.

View File

@ -300,14 +300,6 @@ sub generate_testfile {
&parse_args (\*OUTPUT, $descr, $args);
next;
}
# START_DATA (function)
if (/START_DATA/) {
next;
}
# END_DATA (function)
if (/END_DATA/) {
next;
}
print OUTPUT;
}
close INPUT;

File diff suppressed because it is too large Load Diff