mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
* 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).
This commit is contained in:
parent
690df9e701
commit
96d10bdf03
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user