From ca0a6bc4c5c53aa6c4a735c36336408a06b8cd89 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 17 Jul 2013 14:53:24 +0200 Subject: Fix cbrtl for ldbl-96 --- math/libm-test.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'math') diff --git a/math/libm-test.inc b/math/libm-test.inc index 2324d4fd52..851f1beafc 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -5845,6 +5845,11 @@ static const struct test_f_f_data cbrt_test_data[] = TEST_f_f (cbrt, -27.0, -3.0), TEST_f_f (cbrt, 0.9921875L, 0.997389022060725270579075195353955217L), TEST_f_f (cbrt, 0.75L, 0.908560296416069829445605878163630251L), + +#if defined TEST_LDOUBLE && LDBL_MAX_EXP >= 16384 + TEST_f_f (cbrt, 0x1p16383L, 0x1p5461L), + TEST_f_f (cbrt, 0x1p-16383L, 0x1p-5461L), +#endif }; static void -- cgit 1.4.1