aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-02-17 18:14:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-02-17 18:14:02 +0000
commitfa2a3dd7a38df17dcf5f3d151141daa840904dce (patch)
tree1afc805fb1bcc514539428875586a73677410574 /sysdeps/i386
parent6b8303a383660a3c7b2792246c933f8a2234d712 (diff)
downloadglibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.tar
glibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.tar.gz
glibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.tar.bz2
glibc-fa2a3dd7a38df17dcf5f3d151141daa840904dce.zip
Move tests of casin, casinh to auto-libm-test-*.
This patch moves tests of casin and casinh with finite inputs to using the auto-libm-test machinery. Each of auto-libm-test-out-casin and auto-libm-test-out-casinh takes about 38 minutes to generate on my system because of MPC slowness on special cases that appear in the tests (with MPC 1.0.3; I don't know to what extent current MPC master might speed it up). Tested for x86_64 and x86 and ulps updated accordingly. * math/auto-libm-test-in: Add tests of casin and casinh. * math/auto-libm-test-out-casin: New generated file. * math/auto-libm-test-out-casinh: Likewise. * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c. Move tests with finite inputs to auto-libm-test-in. * math/libm-test-casinh.inc (casinh_test_data): Likewise. * math/Makefile (libm-test-funcs-auto): Add casin and casinh. (libm-test-funcs-noauto): Remove casin and casinh. * 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')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps72
-rw-r--r--sysdeps/i386/i686/fpu/multiarch/libm-test-ulps72
2 files changed, 72 insertions, 72 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index f310e6d388..0e237c17f8 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -388,28 +388,28 @@ ildouble: 2
ldouble: 2
Function: Real part of "casin_downward":
-double: 2
+double: 3
float: 2
-idouble: 2
+idouble: 3
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Imaginary part of "casin_downward":
-double: 4
+double: 5
float: 3
-idouble: 4
+idouble: 5
ifloat: 3
-ildouble: 5
-ldouble: 5
+ildouble: 6
+ldouble: 6
Function: Real part of "casin_towardzero":
-double: 1
+double: 3
float: 1
-idouble: 1
+idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Imaginary part of "casin_towardzero":
double: 4
@@ -428,12 +428,12 @@ ildouble: 2
ldouble: 2
Function: Imaginary part of "casin_upward":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
-ildouble: 5
-ldouble: 5
+double: 7
+float: 7
+idouble: 7
+ifloat: 7
+ildouble: 7
+ldouble: 7
Function: Real part of "casinh":
double: 1
@@ -452,20 +452,20 @@ ildouble: 1
ldouble: 1
Function: Real part of "casinh_downward":
-double: 4
+double: 5
float: 3
-idouble: 4
+idouble: 5
ifloat: 3
-ildouble: 5
-ldouble: 5
+ildouble: 6
+ldouble: 6
Function: Imaginary part of "casinh_downward":
-double: 2
+double: 3
float: 2
-idouble: 2
+idouble: 3
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Real part of "casinh_towardzero":
double: 4
@@ -476,20 +476,20 @@ ildouble: 5
ldouble: 5
Function: Imaginary part of "casinh_towardzero":
-double: 1
+double: 3
float: 1
-idouble: 1
+idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Real part of "casinh_upward":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
-ildouble: 5
-ldouble: 5
+double: 7
+float: 7
+idouble: 7
+ifloat: 7
+ildouble: 7
+ldouble: 7
Function: Imaginary part of "casinh_upward":
double: 2
diff --git a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
index af3fcd904b..23e46b7f6c 100644
--- a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
+++ b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
@@ -388,28 +388,28 @@ ildouble: 2
ldouble: 2
Function: Real part of "casin_downward":
-double: 2
+double: 3
float: 2
-idouble: 2
+idouble: 3
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Imaginary part of "casin_downward":
-double: 4
+double: 5
float: 3
-idouble: 4
+idouble: 5
ifloat: 3
-ildouble: 5
-ldouble: 5
+ildouble: 6
+ldouble: 6
Function: Real part of "casin_towardzero":
-double: 1
+double: 3
float: 1
-idouble: 1
+idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Imaginary part of "casin_towardzero":
double: 4
@@ -428,12 +428,12 @@ ildouble: 2
ldouble: 2
Function: Imaginary part of "casin_upward":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
-ildouble: 5
-ldouble: 5
+double: 7
+float: 7
+idouble: 7
+ifloat: 7
+ildouble: 7
+ldouble: 7
Function: Real part of "casinh":
double: 1
@@ -452,20 +452,20 @@ ildouble: 1
ldouble: 1
Function: Real part of "casinh_downward":
-double: 4
+double: 5
float: 3
-idouble: 4
+idouble: 5
ifloat: 3
-ildouble: 5
-ldouble: 5
+ildouble: 6
+ldouble: 6
Function: Imaginary part of "casinh_downward":
-double: 2
+double: 3
float: 2
-idouble: 2
+idouble: 3
ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Real part of "casinh_towardzero":
double: 4
@@ -476,20 +476,20 @@ ildouble: 5
ldouble: 5
Function: Imaginary part of "casinh_towardzero":
-double: 1
+double: 3
float: 1
-idouble: 1
+idouble: 3
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Real part of "casinh_upward":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
-ildouble: 5
-ldouble: 5
+double: 7
+float: 7
+idouble: 7
+ifloat: 7
+ildouble: 7
+ldouble: 7
Function: Imaginary part of "casinh_upward":
double: 2