mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
Allow more spurious underflow exceptions from csqrt and Bessel functions.
This commit is contained in:
parent
771766df5a
commit
75fa192131
@ -1,3 +1,12 @@
|
|||||||
|
2012-06-14 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* libm_test.inc (csqrt_test): Allow more spurious underflow
|
||||||
|
exceptions.
|
||||||
|
(j0_test): Likewise.
|
||||||
|
(j1_test): Likewise.
|
||||||
|
(y0_test): Likewise.
|
||||||
|
(y1_test): Likewise.
|
||||||
|
|
||||||
2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
|
2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
|
||||||
|
|
||||||
* po/Makefile (libc.pot): Use UTF-8 charset.
|
* po/Makefile (libc.pot): Use UTF-8 charset.
|
||||||
|
@ -3211,7 +3211,7 @@ csqrt_test (void)
|
|||||||
TEST_c_c (csqrt, 0x1.fffffffffffffp+1023L, 0x1p+1023L, 1.379778091031440685006200821918878702861e+154L, 3.257214233483129514781233066898042490248e+153L);
|
TEST_c_c (csqrt, 0x1.fffffffffffffp+1023L, 0x1p+1023L, 1.379778091031440685006200821918878702861e+154L, 3.257214233483129514781233066898042490248e+153L);
|
||||||
/* Bug 14157: spurious exception may occur. */
|
/* Bug 14157: spurious exception may occur. */
|
||||||
TEST_c_c (csqrt, 0x1p-1074L, 0x1p-1074L, 2.442109726130830256743814843868934877597e-162L, 1.011554969366634726113090867589031782487e-162L, UNDERFLOW_EXCEPTION_OK);
|
TEST_c_c (csqrt, 0x1p-1074L, 0x1p-1074L, 2.442109726130830256743814843868934877597e-162L, 1.011554969366634726113090867589031782487e-162L, UNDERFLOW_EXCEPTION_OK);
|
||||||
TEST_c_c (csqrt, 0x1p-1073L, 0x1p-1073L, 3.453664695497464982856905711457966660085e-162L, 1.430554756764195530630723976279903095110e-162L);
|
TEST_c_c (csqrt, 0x1p-1073L, 0x1p-1073L, 3.453664695497464982856905711457966660085e-162L, 1.430554756764195530630723976279903095110e-162L, UNDERFLOW_EXCEPTION_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384
|
#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384
|
||||||
@ -4352,7 +4352,8 @@ j0_test (void)
|
|||||||
TEST_f_f (j0, 0x1.d7ce3ap+107L, 2.775523647291230802651040996274861694514e-17L, UNDERFLOW_EXCEPTION_OK);
|
TEST_f_f (j0, 0x1.d7ce3ap+107L, 2.775523647291230802651040996274861694514e-17L, UNDERFLOW_EXCEPTION_OK);
|
||||||
|
|
||||||
#ifndef TEST_FLOAT
|
#ifndef TEST_FLOAT
|
||||||
TEST_f_f (j0, -0x1.001000001p+593L, -3.927269966354206207832593635798954916263e-90L);
|
/* Bug 14155: spurious exception may occur. */
|
||||||
|
TEST_f_f (j0, -0x1.001000001p+593L, -3.927269966354206207832593635798954916263e-90L, UNDERFLOW_EXCEPTION_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END (j0);
|
END (j0);
|
||||||
@ -4393,7 +4394,8 @@ j1_test (void)
|
|||||||
TEST_f_f (j1, 0x1.3ffp+74L, 1.818984347516051243459364437186082741567e-12L);
|
TEST_f_f (j1, 0x1.3ffp+74L, 1.818984347516051243459364437186082741567e-12L);
|
||||||
|
|
||||||
#ifndef TEST_FLOAT
|
#ifndef TEST_FLOAT
|
||||||
TEST_f_f (j1, 0x1.ff00000000002p+840L, 1.846591691699331493194965158699937660696e-127L);
|
/* Bug 14155: spurious exception may occur. */
|
||||||
|
TEST_f_f (j1, 0x1.ff00000000002p+840L, 1.846591691699331493194965158699937660696e-127L, UNDERFLOW_EXCEPTION_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END (j1);
|
END (j1);
|
||||||
@ -8441,7 +8443,8 @@ y0_test (void)
|
|||||||
TEST_f_f (y0, 0x1.3ffp+74L, 1.818984347516051243459467456433028748678e-12L);
|
TEST_f_f (y0, 0x1.3ffp+74L, 1.818984347516051243459467456433028748678e-12L);
|
||||||
|
|
||||||
#ifndef TEST_FLOAT
|
#ifndef TEST_FLOAT
|
||||||
TEST_f_f (y0, 0x1.ff00000000002p+840L, 1.846591691699331493194965158699937660696e-127L);
|
/* Bug 14155: spurious exception may occur. */
|
||||||
|
TEST_f_f (y0, 0x1.ff00000000002p+840L, 1.846591691699331493194965158699937660696e-127L, UNDERFLOW_EXCEPTION_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END (y0);
|
END (y0);
|
||||||
@ -8483,7 +8486,8 @@ y1_test (void)
|
|||||||
TEST_f_f (y1, 0x1.27e204p+99L, -8.881610148467797208469612080785210013461e-16L, UNDERFLOW_EXCEPTION_OK);
|
TEST_f_f (y1, 0x1.27e204p+99L, -8.881610148467797208469612080785210013461e-16L, UNDERFLOW_EXCEPTION_OK);
|
||||||
|
|
||||||
#ifndef TEST_FLOAT
|
#ifndef TEST_FLOAT
|
||||||
TEST_f_f (y1, 0x1.001000001p+593L, 3.927269966354206207832593635798954916263e-90L);
|
/* Bug 14155: spurious exception may occur. */
|
||||||
|
TEST_f_f (y1, 0x1.001000001p+593L, 3.927269966354206207832593635798954916263e-90L, UNDERFLOW_EXCEPTION_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
END (y1);
|
END (y1);
|
||||||
|
Loading…
Reference in New Issue
Block a user