diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-02-17 18:42:37 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-02-17 18:42:37 +0000 |
commit | 2c51dfd05d75275b9a2d7be27e5b9544fe3c303f (patch) | |
tree | fa117e0f766d2200a6c72dec614a7282e6bfe1a1 /sysdeps/i386/i686 | |
parent | fa2a3dd7a38df17dcf5f3d151141daa840904dce (diff) | |
download | glibc-2c51dfd05d75275b9a2d7be27e5b9544fe3c303f.tar.gz glibc-2c51dfd05d75275b9a2d7be27e5b9544fe3c303f.tar.xz glibc-2c51dfd05d75275b9a2d7be27e5b9544fe3c303f.zip |
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.
Diffstat (limited to 'sysdeps/i386/i686')
-rw-r--r-- | sysdeps/i386/i686/fpu/multiarch/libm-test-ulps | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps index 23e46b7f6c..04bc23b37b 100644 --- a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps +++ b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps @@ -499,6 +499,12 @@ ifloat: 2 ildouble: 2 ldouble: 2 +Function: Real part of "catan": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + Function: Imaginary part of "catan": double: 1 float: 1 @@ -563,6 +569,12 @@ ifloat: 1 ildouble: 1 ldouble: 1 +Function: Imaginary part of "catanh": +double: 1 +idouble: 1 +ildouble: 1 +ldouble: 1 + Function: Real part of "catanh_downward": double: 2 float: 1 |