about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-07-17 14:53:24 +0200
committerAndreas Schwab <schwab@suse.de>2013-08-13 09:45:02 +0200
commitca0a6bc4c5c53aa6c4a735c36336408a06b8cd89 (patch)
treefde38f49e9ff8e251fc3a4c9a8d5f194ba6decbf /math
parent6c1fd795711bb510cffaab5ad2ab2739bb8db210 (diff)
downloadglibc-ca0a6bc4c5c53aa6c4a735c36336408a06b8cd89.tar.gz
glibc-ca0a6bc4c5c53aa6c4a735c36336408a06b8cd89.tar.xz
glibc-ca0a6bc4c5c53aa6c4a735c36336408a06b8cd89.zip
Fix cbrtl for ldbl-96
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.inc5
1 files changed, 5 insertions, 0 deletions
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