From d2f9799e7ca00687eb1a57f2747b4293e1a7dea6 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 16 Mar 2013 17:51:48 +0000 Subject: Fix y1l spurious overflows for ldbl-96 (bug 15283). --- math/libm-test.inc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'math') diff --git a/math/libm-test.inc b/math/libm-test.inc index d9df034c63..914aab3349 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -6246,6 +6246,11 @@ j0_test (void) TEST_f_f (j0, -0x1.001000001p+593L, -3.927269966354206207832593635798954916263e-90L); #endif +#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384 + TEST_f_f (j0, 0x1p16382L, -1.2193782500509000574176799046642541129387e-2466L); + TEST_f_f (j0, 0x1p16383L, 9.5859502826270374691362975419147645151233e-2467L); +#endif + END (j0); } @@ -6287,6 +6292,11 @@ j1_test (void) TEST_f_f (j1, 0x1.ff00000000002p+840L, 1.846591691699331493194965158699937660696e-127L); #endif +#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384 + TEST_f_f (j1, 0x1p16382L, 8.0839224448726336195866026476176740513439e-2467L); + TEST_f_f (j1, 0x1p16383L, -3.8895531955766020648617743624167352352217e-2467L); +#endif + END (j1); } @@ -10458,6 +10468,11 @@ y0_test (void) TEST_f_f (y0, 0x1.ff00000000002p+840L, 1.846591691699331493194965158699937660696e-127L); #endif +#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384 + TEST_f_f (y0, 0x1p16382L, 8.0839224448726336195866026476176740513439e-2467L); + TEST_f_f (y0, 0x1p16383L, -3.8895531955766020648617743624167352352217e-2467L); +#endif + TEST_f_f (y0, 0x1p-10L, -4.4865150767109739412411806297168793661098L); TEST_f_f (y0, 0x1p-20L, -8.8992283012125827603076426611387876938160L); TEST_f_f (y0, 0x1p-30L, -1.3311940304267782826037118027401817264906e+1L); @@ -10511,6 +10526,11 @@ y1_test (void) TEST_f_f (y1, 0x1.001000001p+593L, 3.927269966354206207832593635798954916263e-90L); #endif +#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384 + TEST_f_f (y1, 0x1p16382L, 1.2193782500509000574176799046642541129387e-2466L); + TEST_f_f (y1, 0x1p16383L, -9.5859502826270374691362975419147645151233e-2467L); +#endif + TEST_f_f (y1, 0x1p-10L, -6.5190099301063115047395187618929589514382e+02L); TEST_f_f (y1, 0x1p-20L, -6.6754421443450423911167962313100637952285e+05L); TEST_f_f (y1, 0x1p-30L, -6.8356527557643159612937462812258975438856e+08L); -- cgit 1.4.1