summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu
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 /sysdeps/powerpc/fpu
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 'sysdeps/powerpc/fpu')
-rw-r--r--sysdeps/powerpc/fpu/libm-test-ulps13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
index 1ab3d4ad4f..c555297db5 100644
--- a/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/sysdeps/powerpc/fpu/libm-test-ulps
@@ -1488,6 +1488,17 @@ Test "log2 (e) == M_LOG2El":
 ildouble: 1
 ldouble: 1
 
+# pow
+Test "pow (0x0.ffffffp0, -0x1p24) == 2.7182819094701610539628664526874952929416":
+float: 1
+ifloat: 1
+Test "pow (0x0.ffffffp0, 0x1p24) == 0.3678794302077803437135155590023422899744":
+float: 1
+ifloat: 1
+Test "pow (0x1.000002p0, 0x1p24) == 7.3890552180866447284268641248075832310141":
+float: 1
+ifloat: 1
+
 # pow_downward
 Test "pow_downward (1.0625, 1.125) == 1.070582293028761362162622578677070098674":
 ildouble: 1
@@ -2448,6 +2459,8 @@ ildouble: 1
 ldouble: 1
 
 Function: "pow":
+float: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1