* Re-re-update alpha ulps
[not found] ` <Pine.LNX.4.64.1205312304430.19630@digraph.polyomino.org.uk>
@ 2012-06-01 16:56 ` Richard Henderson
0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2012-06-01 16:56 UTC (permalink / raw)
To: Joseph S. Myers; +Cc: David Miller, libc-alpha, libc-ports
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
On 05/31/2012 04:05 PM, Joseph S. Myers wrote:
> On Thu, 31 May 2012, David Miller wrote:
>
>> Committed to master.
>>
>> * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) test entry.
>
> I believe the
>
> Function: "sqrt":
> ildouble: 1
> ldouble: 1
>
> at the end should be removed as well. (Richard, that also applies to the
> fma entry at the end of alpha's libm-test-ulps.)
>
I believe the last time I "regenerated" the file, I didn't do it correctly.
This time I started with an empty libm-test-ulps file and things seem to
have worked out better. In particular, the sqrt and fma entries are gone.
There are some slightly increased ulps, but I diffed my new file against
the sparc file and things look good.
r~
[-- Attachment #2: z-sparc-diff --]
[-- Type: text/plain, Size: 2542 bytes --]
--- ../src/sysdeps/sparc/fpu/libm-test-ulps 2012-05-24 12:55:23.964976118 -0700
+++ sysdeps/alpha/fpu/libm-test-ulps 2012-06-01 09:47:24.630248415 -0700
@@ -1375,8 +1375,6 @@
Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
float: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
double: 1
idouble: 1
@@ -1431,18 +1429,14 @@
# ctanh
Test "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
double: 1
-float: 2
+float: 1
idouble: 1
-ifloat: 2
-ildouble: 1
-ldouble: 1
+ifloat: 1
Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Test "Imaginary part of: ctanh (0 + 0x3.243f6cp-1 i) == 0.0 - 2.287733242885645987394874673945769518150e7 i":
float: 1
ifloat: 1
@@ -1460,13 +1454,9 @@
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Test "Imaginary part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
float: 2
ifloat: 2
-ildouble: 1
-ldouble: 1
Test "Real part of: ctanh (1 + 0x1p1023 i) == 0.8786063118883068695462540226219865087189 - 0.2254627924997545057926782581695274244229 i":
ildouble: 2
ldouble: 2
@@ -1529,10 +1519,8 @@
# exp10
Test "exp10 (-1) == 0.1":
-double: 2
-float: 1
-idouble: 2
-ifloat: 1
+double: 1
+idouble: 1
Test "exp10 (-305) == 1.0e-305":
double: 1
idouble: 1
@@ -1541,18 +1529,9 @@
idouble: 1
ildouble: 1
ldouble: 1
-Test "exp10 (0.75) == 5.62341325190349080394951039776481231":
+Test "exp10 (3) == 1000":
double: 1
-float: 1
idouble: 1
-ifloat: 1
-Test "exp10 (3) == 1000":
-double: 6
-float: 2
-idouble: 6
-ifloat: 2
-ildouble: 1
-ldouble: 1
Test "exp10 (36) == 1.0e36":
double: 1
idouble: 1
@@ -2102,11 +2081,6 @@
ildouble: 1
ldouble: 1
-# sqrt
-Test "sqrt (2) == M_SQRT2l":
-ildouble: 1
-ldouble: 1
-
# tan_downward
Test "tan_downward (1) == 1.5574077246549022305069748074583601730873":
float: 1
@@ -2760,10 +2734,8 @@
ldouble: 1
Function: "exp10":
-double: 6
-float: 2
-idouble: 6
-ifloat: 2
+double: 1
+idouble: 1
ildouble: 1
ldouble: 1
@@ -2921,10 +2893,6 @@
ildouble: 1
ldouble: 1
-Function: "sqrt":
-ildouble: 1
-ldouble: 1
-
Function: "tan":
double: 1
idouble: 1
[-- Attachment #3: z-alpha-update --]
[-- Type: text/plain, Size: 6525 bytes --]
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 48f3b97..16d73c6 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,3 +1,7 @@
+2012-06-01 Richard Henderson <rth@twiddle.net>
+
+ * sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
+
2012-05-30 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/Makefile (CFLAGS-s_fma.c): Set -mieee-with-inexact.
diff --git a/sysdeps/alpha/fpu/libm-test-ulps b/sysdeps/alpha/fpu/libm-test-ulps
index 908154c..bc3d828 100644
--- a/sysdeps/alpha/fpu/libm-test-ulps
+++ b/sysdeps/alpha/fpu/libm-test-ulps
@@ -964,8 +964,6 @@ ifloat: 1
Test "cos (M_PI_6l * 2.0) == 0.5":
double: 1
idouble: 1
-ildouble: 1
-ldouble: 1
Test "cos (M_PI_6l * 4.0) == -0.5":
double: 2
float: 1
@@ -1138,9 +1136,6 @@ ifloat: 4
ildouble: 4
ldouble: 4
Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i":
-ildouble: 2
-ldouble: 2
-Test "Imaginary part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i":
ildouble: 1
ldouble: 1
Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 1.0 i) == 0.0846958290317209430433805274189191353 + 0.513285749182902449043287190519090481 i":
@@ -1148,8 +1143,8 @@ double: 2
float: 3
idouble: 2
ifloat: 3
-ildouble: 10
-ldouble: 10
+ildouble: 11
+ldouble: 11
Test "Real part of: cpow (2 + 0 i, 10 + 0 i) == 1024.0 + 0.0 i":
ildouble: 2
ldouble: 2
@@ -1158,8 +1153,8 @@ double: 1
float: 4
idouble: 1
ifloat: 4
-ildouble: 3
-ldouble: 3
+ildouble: 2
+ldouble: 2
Test "Imaginary part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i":
float: 2
ifloat: 2
@@ -1380,8 +1375,6 @@ ldouble: 1
Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
float: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
double: 1
idouble: 1
@@ -1436,18 +1429,14 @@ ldouble: 1
# ctanh
Test "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
double: 1
-float: 2
+float: 1
idouble: 1
-ifloat: 2
-ildouble: 1
-ldouble: 1
+ifloat: 1
Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Test "Imaginary part of: ctanh (0 + 0x3.243f6cp-1 i) == 0.0 - 2.287733242885645987394874673945769518150e7 i":
float: 1
ifloat: 1
@@ -1530,10 +1519,8 @@ idouble: 1
# exp10
Test "exp10 (-1) == 0.1":
-double: 2
-float: 1
-idouble: 2
-ifloat: 1
+double: 1
+idouble: 1
Test "exp10 (-305) == 1.0e-305":
double: 1
idouble: 1
@@ -1542,18 +1529,9 @@ double: 1
idouble: 1
ildouble: 1
ldouble: 1
-Test "exp10 (0.75) == 5.62341325190349080394951039776481231":
+Test "exp10 (3) == 1000":
double: 1
-float: 1
idouble: 1
-ifloat: 1
-Test "exp10 (3) == 1000":
-double: 6
-float: 2
-idouble: 6
-ifloat: 2
-ildouble: 1
-ldouble: 1
Test "exp10 (36) == 1.0e36":
double: 1
idouble: 1
@@ -1562,9 +1540,6 @@ ildouble: 1
ldouble: 1
# exp2
-Test "exp2 (10) == 1024":
-ildouble: 2
-ldouble: 2
Test "exp2 (100.5) == 1.792728671193156477399422023278661496394e+30":
ildouble: 1
ldouble: 1
@@ -1802,9 +1777,9 @@ ildouble: 2
ldouble: 2
Test "jn (10, 2.0) == 0.251538628271673670963516093751820639e-6":
double: 1
-float: 4
+float: 2
idouble: 1
-ifloat: 4
+ifloat: 2
Test "jn (2, 0x1.ffff62p+99) == -4.43860668048170034334926693188979974489e-16":
double: 2
float: 2
@@ -1835,10 +1810,8 @@ ifloat: 1
ildouble: 2
ldouble: 2
Test "jn (3, 2.0) == 0.128943249474402051098793332969239835":
-double: 1
-float: 2
-idouble: 1
-ifloat: 2
+float: 1
+ifloat: 1
Test "jn (3, 2.4048255576957729) == 0.19899990535769083404042146764530813":
double: 3
idouble: 3
@@ -2056,15 +2029,11 @@ ifloat: 1
Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
double: 1
idouble: 1
-ildouble: 1
-ldouble: 1
Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
float: 1
ifloat: 1
@@ -2112,11 +2081,6 @@ Test "sinh_upward (24) == 13244561064.92173614705070540368454568168":
ildouble: 1
ldouble: 1
-# sqrt
-Test "sqrt (2) == M_SQRT2l":
-ildouble: 1
-ldouble: 1
-
# tan_downward
Test "tan_downward (1) == 1.5574077246549022305069748074583601730873":
float: 1
@@ -2474,8 +2438,8 @@ double: 2
float: 1
idouble: 2
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 3
Function: Real part of "cacosh":
double: 1
@@ -2504,8 +2468,8 @@ double: 2
float: 1
idouble: 2
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 3
Function: Real part of "casinh":
double: 5
@@ -2589,9 +2553,9 @@ ldouble: 1
Function: Imaginary part of "cexp":
double: 1
-float: 1
+float: 2
idouble: 1
-ifloat: 1
+ifloat: 2
ildouble: 1
ldouble: 1
@@ -2674,8 +2638,8 @@ double: 2
float: 4
idouble: 2
ifloat: 4
-ildouble: 10
-ldouble: 10
+ildouble: 11
+ldouble: 11
Function: Imaginary part of "cpow":
double: 2
@@ -2732,8 +2696,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: Imaginary part of "ctan":
double: 1
@@ -2743,19 +2707,19 @@ ldouble: 2
Function: Real part of "ctanh":
double: 1
-float: 2
+float: 1
idouble: 1
-ifloat: 2
-ildouble: 1
-ldouble: 1
+ifloat: 1
+ildouble: 2
+ldouble: 2
Function: Imaginary part of "ctanh":
double: 1
-float: 1
+float: 2
idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
+ifloat: 2
+ildouble: 2
+ldouble: 2
Function: "erf":
double: 1
@@ -2770,16 +2734,14 @@ ildouble: 1
ldouble: 1
Function: "exp10":
-double: 6
-float: 2
-idouble: 6
-ifloat: 2
+double: 1
+idouble: 1
ildouble: 1
ldouble: 1
Function: "exp2":
-ildouble: 2
-ldouble: 2
+ildouble: 1
+ldouble: 1
Function: "exp_downward":
float: 1
@@ -2807,10 +2769,6 @@ ifloat: 1
ildouble: 1
ldouble: 1
-Function: "fma":
-double: 1
-idouble: 1
-
Function: "gamma":
ildouble: 1
ldouble: 1
@@ -2837,11 +2795,11 @@ ldouble: 4
Function: "jn":
double: 4
-float: 4
+float: 5
idouble: 4
-ifloat: 4
-ildouble: 4
-ldouble: 4
+ifloat: 5
+ildouble: 8
+ldouble: 8
Function: "lgamma":
double: 1
@@ -2935,10 +2893,6 @@ Function: "sinh_upward":
ildouble: 1
ldouble: 1
-Function: "sqrt":
-ildouble: 1
-ldouble: 1
-
Function: "tan":
double: 1
idouble: 1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-01 16:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20120531.190058.1154485538611512625.davem@davemloft.net>
[not found] ` <Pine.LNX.4.64.1205312304430.19630@digraph.polyomino.org.uk>
2012-06-01 16:56 ` Re-re-update alpha ulps Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).