[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] More PowerPC soft-float ULPs
- To: patches@xxxxxxxxxx
- Subject: [patches] More PowerPC soft-float ULPs
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 16:47:57 +0000 (UTC)
In PowerPC soft-float testing I found some more ULPs were needed. (It's
possible that these depend on fine details of the compiler and libc
versions being tested; after all, no FSF GCC version has support for
soft-float long double because the FSF GLIBC maintainers have no interest
in reviewing the soft-fp patches needed for GCC. The results of
hard-float long double computations can definitely depend on what compiler
optimizations happen in libgcc and libm.)
I'm not sure how the original ULP list was generated; it contains such
oddities as
ildouble: 1
ldouble: 1
ildouble: 2
ldouble: 2
which suggest it was not generated by concatenating the old file with the
new or increased ULPs and running through gen-libm-test.pl as described in
README.libm-test (doing this yields other changes to the file as well, but
it should be idempotent).
Index: ChangeLog.eglibc
===================================================================
--- ChangeLog.eglibc (revision 679)
+++ ChangeLog.eglibc (working copy)
@@ -1,3 +1,7 @@
+2006-11-14 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/nofpu/libm-test-ulps: Add more ULPs.
+
2006-11-09 Steven Munroe <sjmunroe@xxxxxxxxxx>
[BZ #2749]
Index: sysdeps/powerpc/nofpu/libm-test-ulps
===================================================================
--- sysdeps/powerpc/nofpu/libm-test-ulps (revision 679)
+++ sysdeps/powerpc/nofpu/libm-test-ulps (working copy)
@@ -374,6 +374,9 @@
Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
double: 1
idouble: 1
+Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
+ildouble: 1
+ldouble: 1
Test "Imaginary part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i":
double: 1
idouble: 1
@@ -487,6 +490,8 @@
float: 1
idouble: 1
ifloat: 1
+ildouble: 1
+ldouble: 1
Test "j0 (0.75) == 0.864242275166648623555731103820923211":
float: 1
ifloat: 1
@@ -503,6 +508,8 @@
float: 1
idouble: 1
ifloat: 1
+ildouble: 1
+ldouble: 1
Test "j0 (8.0) == 0.171650807137553906090869407851972001":
float: 1
ifloat: 1
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx