diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-12-18 17:59:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-12-18 17:59:29 +0000 |
commit | f889953b44da50bf8a7824c97d09dbe03fd11b83 (patch) | |
tree | d498fd7f8015c4de4f9fe5bfaf3b6bd476271dd7 /nptl_db | |
parent | 237764876709dfbd81ae9fc9f91ef7e496a3eb08 (diff) | |
download | glibc-f889953b44da50bf8a7824c97d09dbe03fd11b83.zip glibc-f889953b44da50bf8a7824c97d09dbe03fd11b83.tar.gz glibc-f889953b44da50bf8a7824c97d09dbe03fd11b83.tar.bz2 |
Move tests of jn and yn from libm-test.inc to auto-libm-test-in.
This patch moves tests of jn and yn to auto-libm-test-in, adding the
required support for gen-auto-libm-tests (and adding a missing
assertion there and fixing logic that was broken for functions with
integer arguments).
Tested x86_64 and x86 and ulps updated accordingly.
* math/auto-libm-test-in: Add tests of jn and yn.
* math/auto-libm-test-out: Regenerated.
* math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
(yn_test_data): Likewise.
* math/gen-auto-libm-tests.c (func_calc_method): Add value
mpfr_if_f.
(func_calc_desc): Add mpfr_if_f union field.
(FUNC_mpfr_if_f): New macro.
(test_functions): Add jn and yn.
(calc_generic_results): Assert type of second input for
mpfr_ff_f. Handle mpfr_if_f.
(output_for_one_input_case): Disable all checking for arguments
fitting floating-point types in case of an integer argument.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'nptl_db')
0 files changed, 0 insertions, 0 deletions