aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-15 19:58:38 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-15 19:58:38 +0000
commit8fc75e6fb73eebe467da9d1e94d5ef9212cac04f (patch)
tree81868ed9e67c98ae971e9e86cfe6f9bf13db899a
parentadf23d2cca20577946c8081c3fdc390f27703f33 (diff)
downloadglibc-8fc75e6fb73eebe467da9d1e94d5ef9212cac04f.tar
glibc-8fc75e6fb73eebe467da9d1e94d5ef9212cac04f.tar.gz
glibc-8fc75e6fb73eebe467da9d1e94d5ef9212cac04f.tar.bz2
glibc-8fc75e6fb73eebe467da9d1e94d5ef9212cac04f.zip
Add another fma test.
-rw-r--r--ChangeLog4
-rw-r--r--math/libm-test.inc1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a06d91f8f5..bf4e137669 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-15 Joseph Myers <joseph@codesourcery.com>
+
+ * math/libm-test.inc (fma_test_data): Add another test.
+
2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
* manual/threads.texi (Non-POSIX Extensions): New document
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 088bf5123e..2e5237b285 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -8482,6 +8482,7 @@ static const struct test_fff_f_data fma_test_data[] =
TEST_fff_f (fma, 0x1.00000000000007ffffffffffffffp-9045L, -0x1.ffffffffffff80000001ffffffffp+4773L, -0x1.f8p-4316L, -0x1.00000000000f88000000fffffdffp-4271L),
TEST_fff_f (fma, 0x1.4e922764c90701d4a2f21d01893dp-8683L, -0x1.955a12e2d7c9447c27fa022fc865p+212L, -0x1.e9634462eaef96528b90b6944578p-8521L, -0x1.08e1783184a371943d3598e10865p-8470L),
TEST_fff_f (fma, 0x1.801181509c03bdbef10d6165588cp-15131L, 0x1.ad86f8e57d3d40bfa8007780af63p-368L, -0x1.6e9df0dab1c9f1d7a6043c390741p-15507L, 0x1.417c9b2b15e2ad57dc9e0e920844p-15498L),
+ TEST_fff_f (fma, 0x1.ffffffffffffffp0L, 0x1.000000000000008p0L, -0x1p-1000L, 0x1.ffffffffffffffffffffffffffffp0L),
TEST_fff_f (fma, 0x1.4p-16382L, 0x1.0000000000000000000000000002p-1L, 0x1p-16384L, 0x1.c000000000000000000000000002p-16383L, UNDERFLOW_EXCEPTION),
TEST_fff_f (fma, -0x1.4p-16382L, 0x1.0000000000000000000000000002p-1L, -0x1p-16384L, -0x1.c000000000000000000000000002p-16383L, UNDERFLOW_EXCEPTION),
TEST_fff_f (fma, 0x1.fffffffffffffffffffffffffffcp-16382L, 0x1.0000000000000000000000000001p-1L, 0x1p-16494L, 0x1p-16382L, UNDERFLOW_EXCEPTION_BEFORE_ROUNDING),