diff options
author | Andreas Schwab <schwab@suse.de> | 2013-07-17 14:53:24 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2013-08-13 09:45:02 +0200 |
commit | ca0a6bc4c5c53aa6c4a735c36336408a06b8cd89 (patch) | |
tree | fde38f49e9ff8e251fc3a4c9a8d5f194ba6decbf /math | |
parent | 6c1fd795711bb510cffaab5ad2ab2739bb8db210 (diff) | |
download | glibc-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.inc | 5 |
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 |