about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2012-04-24 14:21:45 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2012-04-24 14:21:45 -0500
commit94e02fc410d21ceacb12a63add9946c98e6048eb (patch)
tree020a4733d9d9e873e7ff627905ec81a18b64b1e4 /math
parent940ab4b3b82d51a05d6394f60f18897a1625bb10 (diff)
downloadglibc-94e02fc410d21ceacb12a63add9946c98e6048eb.tar.gz
glibc-94e02fc410d21ceacb12a63add9946c98e6048eb.tar.xz
glibc-94e02fc410d21ceacb12a63add9946c98e6048eb.zip
Correct powerpc64 s_floorl edge cases (bug 13886).
[BZ #13886]
Remove powerpc64/fpu/s_floorl.  Use fully correct ldbl-128bim/s_floorl.c.
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 94d60bff7e..e0ac6131da 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -3442,6 +3442,9 @@ floor_test (void)
   TEST_f_f (floor, 10141204801825835211973625643008.5L, 10141204801825835211973625643008.0L);
   TEST_f_f (floor, 10141204801825835211973625643008.75L, 10141204801825835211973625643008.0L);
   TEST_f_f (floor, 10141204801825835211973625643009.5L, 10141204801825835211973625643009.0L);
+
+  TEST_f_f (floor, 0xf.ffffffffffffff8p+47L, 0xf.fffffffffffep+47L);
+  TEST_f_f (floor, -0x8.000000000000004p+48L, -0x8.000000000001p+48L);
 #endif
 
   END (floor);