about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-22 14:57:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-22 14:57:22 +0000
commit8e27e3cc453849158e069dbed0eea7b8113ab8ff (patch)
tree4f4b8ecd14b90dc0f283fdc002d2cbef94cba7e2 /math
parentc9c0279bcb2bd0871e9a4affbab3244389de1353 (diff)
downloadglibc-8e27e3cc453849158e069dbed0eea7b8113ab8ff.tar.gz
glibc-8e27e3cc453849158e069dbed0eea7b8113ab8ff.tar.xz
glibc-8e27e3cc453849158e069dbed0eea7b8113ab8ff.zip
Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 74ef15b212..21f46469de 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -5730,6 +5730,8 @@ hypot_test (void)
 
   TEST_ff_f (hypot, 0.75L, 1.25L, 1.45773797371132511771853821938639577L);
 
+  TEST_ff_f (hypot, 1.0L, 0x1p-61L, 1.0L);
+
 #if !(defined TEST_FLOAT && defined TEST_INLINE)
   TEST_ff_f (hypot, 0x3p125L, 0x4p125L, 0x5p125L);
   TEST_ff_f (hypot, 0x1.234566p-126L, 0x1.234566p-126L, 1.891441686191081936598531534017449451173e-38L);