diff options
author | Andreas Jaeger <aj@suse.de> | 2002-07-02 09:33:05 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-07-02 09:33:05 +0000 |
commit | 96d10bdf030b75d28ddef3b342981ef810489ed8 (patch) | |
tree | 5cbb63256af9c7f8554eac5cb5ef9e0d5ca0b3c0 | |
parent | 690df9e701eb885480e5ff902bd3a088c6bd92d6 (diff) | |
download | glibc-96d10bdf030b75d28ddef3b342981ef810489ed8.tar.gz glibc-96d10bdf030b75d28ddef3b342981ef810489ed8.tar.xz glibc-96d10bdf030b75d28ddef3b342981ef810489ed8.zip |
* math/libm-test.inc (acos_test): Add missing L suffix for
expected result. (cpow_test): Likewise. * sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove error for acos (0.0625).
-rw-r--r-- | math/libm-test.inc | 8 | ||||
-rw-r--r-- | sysdeps/i386/fpu/libm-test-ulps | 15 |
2 files changed, 10 insertions, 13 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index d690ddf76d..f30a95e187 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -735,7 +735,7 @@ acos_test (void) TEST_f_f (acos, -0.5, M_PI_6l*4.0); TEST_f_f (acos, 0.75L, 0.722734247813415611178377352641333362L); TEST_f_f (acos, 2e-17L, 1.57079632679489659923132169163975144L); - TEST_f_f (acos, 0.0625L, 1.50825556499840522843072005474337068); + TEST_f_f (acos, 0.0625L, 1.50825556499840522843072005474337068L); END (acos); } @@ -1959,10 +1959,10 @@ cpow_test (void) TEST_cc_c (cpow, nan_value, nan_value, nan_value, nan_value, nan_value, nan_value); - TEST_cc_c (cpow, 0.75L, 1.25L, 0.75L, 1.25L, 0.117506293914473555420279832210420483, 0.346552747708338676483025352060418001L); - TEST_cc_c (cpow, 0.75L, 1.25L, 1.0L, 1.0L, 0.0846958290317209430433805274189191353, 0.513285749182902449043287190519090481L); + TEST_cc_c (cpow, 0.75L, 1.25L, 0.75L, 1.25L, 0.117506293914473555420279832210420483L, 0.346552747708338676483025352060418001L); + TEST_cc_c (cpow, 0.75L, 1.25L, 1.0L, 1.0L, 0.0846958290317209430433805274189191353L, 0.513285749182902449043287190519090481L); TEST_cc_c (cpow, 0.75L, 1.25L, 1.0L, 0.0L, 0.75L, 1.25L); - TEST_cc_c (cpow, 0.75L, 1.25L, 0.0L, 1.0L, 0.331825439177608832276067945276730566, 0.131338600281188544930936345230903032L); + TEST_cc_c (cpow, 0.75L, 1.25L, 0.0L, 1.0L, 0.331825439177608832276067945276730566L, 0.131338600281188544930936345230903032L); END (cpow, complex); } diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps index 33ca595771..bff4c6b154 100644 --- a/sysdeps/i386/fpu/libm-test-ulps +++ b/sysdeps/i386/fpu/libm-test-ulps @@ -1,9 +1,6 @@ # Begin of automatic generation # acos -Test "acos (0.0625) == 1.50825556499840522843072005474337068": -ildouble: 622 -ldouble: 622 Test "acos (0.75) == 0.722734247813415611178377352641333362": ildouble: 1 ldouble: 1 @@ -284,16 +281,16 @@ ildouble: 1 Test "Real part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i": float: 1 ifloat: 1 -ildouble: 588 -ldouble: 588 +ildouble: 1 +ldouble: 1 Test "Imaginary part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i": ildouble: 1 ldouble: 1 Test "Real part of: cpow (0.75 + 1.25 i, 0.75 + 1.25 i) == 0.117506293914473555420279832210420483 + 0.346552747708338676483025352060418001 i": float: 3 ifloat: 3 -ildouble: 763 -ldouble: 763 +ildouble: 6 +ldouble: 6 Test "Imaginary part of: cpow (0.75 + 1.25 i, 0.75 + 1.25 i) == 0.117506293914473555420279832210420483 + 0.346552747708338676483025352060418001 i": float: 1 ifloat: 1 @@ -310,8 +307,8 @@ double: 1 float: 3 idouble: 1 ifloat: 3 -ildouble: 370 -ldouble: 370 +ildouble: 3 +ldouble: 3 Test "Real part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i": double: 1 float: 4 |