[COMMITTED] hppa: Update libm-test-ulps.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[COMMITTED] hppa: Update libm-test-ulps.

Carlos O'Donell-6
This updated hppa's ulps for 2.18.

An ulp of 1-2 for gamma seems fine, as does 1 ulp for pow.
Odd to see higher ulp for float in gamma than for double.

I still need to fix the long double vs. double issues for
hppa, and perhaps switch the ABI at some point.

2013-07-23  Carlos O'Donell  <[hidden email]>

        * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.

diff --git a/ports/sysdeps/hppa/fpu/libm-test-ulps b/ports/sysdeps/hppa/fpu/libm-test-ulps
index 0b64644..68d7535 100644
--- a/ports/sysdeps/hppa/fpu/libm-test-ulps
+++ b/ports/sysdeps/hppa/fpu/libm-test-ulps
@@ -3641,6 +3641,18 @@ Test "expm1 (500.0)":
 double: 1
 idouble: 1
 
+# gamma
+Test "gamma (0.7)":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+Test "gamma (1.2)":
+double: 1
+float: 2
+idouble: 1
+ifloat: 2
+
 # hypot
 Test "hypot (-0.7, -12.4)":
 float: 1
@@ -3907,6 +3919,23 @@ Test "pow (0x1.000002p0, 0x1p24)":
 float: 1
 ifloat: 1
 
+# pow10
+Test "pow10 (-1)":
+double: 1
+idouble: 1
+Test "pow10 (-305)":
+double: 1
+idouble: 1
+Test "pow10 (-36)":
+double: 1
+idouble: 1
+Test "pow10 (3)":
+double: 1
+idouble: 1
+Test "pow10 (36)":
+double: 1
+idouble: 1
+
 # pow_downward
 Test "pow_downward (1.5, 1.03125)":
 float: 1
@@ -5034,6 +5063,12 @@ ifloat: 1
 ildouble: 1
 ldouble: 1
 
+Function: "gamma":
+double: 1
+float: 2
+idouble: 1
+ifloat: 2
+
 Function: "hypot":
 float: 1
 ifloat: 1
@@ -5086,6 +5121,10 @@ Function: "pow":
 float: 1
 ifloat: 1
 
+Function: "pow10":
+double: 1
+idouble: 1
+
 Function: "pow_downward":
 float: 1
 ifloat: 1
---

Cheers,
Carlos.