summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-10-11 09:27:05 -0400
committerUlrich Drepper <drepper@gmail.com>2010-10-11 09:27:05 -0400
commit9ff8d36f27aaf390fd074976cd2e867ba41f2588 (patch)
tree694d6d7482b202d35b90d9e958d322f4c4a1b83b /math/libm-test.inc
parentc579b202990c48710e133b58b44ada32d0a7d458 (diff)
downloadglibc-9ff8d36f27aaf390fd074976cd2e867ba41f2588.tar.gz
glibc-9ff8d36f27aaf390fd074976cd2e867ba41f2588.tar.xz
glibc-9ff8d36f27aaf390fd074976cd2e867ba41f2588.zip
Correct implementation of fmaf.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 6650b889c5..2d48f719c9 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -2789,6 +2789,10 @@ fma_test (void)
   TEST_fff_f (fma, minus_infty, minus_infty, minus_infty, nan_value, INVALID_EXCEPTION);
 
   TEST_fff_f (fma, 1.25L, 0.75L, 0.0625L, 1.0L);
+#ifdef TEST_FLOAT
+  TEST_fff_f (fma, 0x1.7ff8p+13, 0x1.000002p+0, 0x1.ffffp-24, 0x1.7ff802p+13);
+  TEST_fff_f (fma, 0x1.fffp+0, 0x1.00001p+0, -0x1.fffp+0, 0x1.fffp-20);
+#endif
 
   END (fma);
 }