Move tests of catan, catanh to auto-libm-test-*.
commit2c51dfd05d75275b9a2d7be27e5b9544fe3c303f
authorJoseph Myers <joseph@codesourcery.com>
Fri, 17 Feb 2017 18:42:37 +0000 (17 18:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 17 Feb 2017 18:42:37 +0000 (17 18:42 +0000)
treefa117e0f766d2200a6c72dec614a7282e6bfe1a1
parentfa2a3dd7a38df17dcf5f3d151141daa840904dce
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.
ChangeLog
math/Makefile
math/auto-libm-test-in
math/auto-libm-test-out-catan [new file with mode: 0644]
math/auto-libm-test-out-catanh [new file with mode: 0644]
math/libm-test-catan.inc
math/libm-test-catanh.inc
sysdeps/i386/fpu/libm-test-ulps
sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
sysdeps/x86_64/fpu/libm-test-ulps