This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi!
This patch removes one warning in test-misc and updates libm-test-ulps on
both sparc architectures.
Today's CVS + my fcntl.c patch + CACHEMAGIC_VERSION_NEW patch and this
passed make check fully on sparc32 and with just 16 errors in test-ldouble
and test-ildoubl (all other tests passed) on sparc64.
2000-10-25 Jakub Jelinek <jakub@redhat.com>
* math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
defined.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
--- libc/math/test-misc.c.jj Thu Jan 20 09:26:32 2000
+++ libc/math/test-misc.c Wed Oct 25 17:48:12 2000
@@ -26,19 +26,20 @@ main (void)
{
int result = 0;
- if (sizeof (long double) >= 12)
- {
- long double x = 0x100000001ll + (long double) 0.5;
- long double q;
- long double r;
+#ifndef NO_LONG_DOUBLE
+ {
+ long double x = 0x100000001ll + (long double) 0.5;
+ long double q;
+ long double r;
- r = modfl (x, &q);
- if (q != (long double) 0x100000001ll || r != 0.5)
- {
- printf ("modfl (%Lg, ...) failed\n", x);
- result = 1;
- }
- }
+ r = modfl (x, &q);
+ if (q != (long double) 0x100000001ll || r != 0.5)
+ {
+ printf ("modfl (%Lg, ...) failed\n", x);
+ result = 1;
+ }
+ }
+#endif
{
double x = 0x100000001ll + (double) 0.5;
--- libc/sysdeps/sparc/sparc32/fpu/libm-test-ulps.jj Tue Oct 3 09:25:43 2000
+++ libc/sysdeps/sparc/sparc32/fpu/libm-test-ulps Wed Oct 25 14:45:54 2000
@@ -7,7 +7,7 @@ ifloat: 2
Test "asin (0.5) == pi/6":
float: 2
ifloat: 2
-Test "asin (0.7) == 0.7753974966107530637":
+Test "asin (0.7) == 0.77539749661075306374035335271498708":
double: 1
float: 2
idouble: 1
@@ -164,12 +164,12 @@ idouble: 1
Test "Imaginary part of: cexp (-2.0 - 3.0 i) == -0.1339809149295426134 - 0.0190985162611351964 i":
float: 1
ifloat: 1
-Test "Real part of: cexp (0.7 + 1.2 i) == 0.7296989091503236012 + 1.8768962328348102821 i":
+Test "Real part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i":
double: 1
float: 1
idouble: 1
ifloat: 1
-Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.7296989091503236012 + 1.8768962328348102821 i":
+Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i":
float: 1
ifloat: 1
@@ -238,7 +238,7 @@ float: 1
ifloat: 1
# cos
-Test "cos (0.7) == 0.7648421872844884262":
+Test "cos (0.7) == 0.76484218728448842625585999019186495":
double: 1
float: 1
idouble: 1
@@ -363,7 +363,7 @@ double: 2
float: 1
idouble: 2
ifloat: 1
-Test "exp10 (0.7) == 5.0118723362727228500":
+Test "exp10 (0.7) == 5.0118723362727228500155418688494574":
float: 1
ifloat: 1
Test "exp10 (3) == 1000":
@@ -552,7 +552,7 @@ idouble: 1
ifloat: 1
# sincos
-Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842626 in cos_res":
+Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842625585999019186495 in cos_res":
double: 1
float: 1
idouble: 1
@@ -562,7 +562,7 @@ double: 1
float: 0.5
idouble: 1
ifloat: 0.5
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.866025403784438646764 in sin_res":
+Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
double: 1
float: 1
idouble: 1
@@ -572,7 +572,7 @@ double: 0.2758
float: 0.3667
idouble: 0.2758
ifloat: 0.3667
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.866025403784438646764 in cos_res":
+Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
float: 1
ifloat: 1
--- libc/sysdeps/sparc/sparc64/fpu/libm-test-ulps.jj Mon Oct 16 10:28:15 2000
+++ libc/sysdeps/sparc/sparc64/fpu/libm-test-ulps Wed Oct 25 18:30:58 2000
@@ -7,7 +7,7 @@ ifloat: 2
Test "asin (0.5) == pi/6":
float: 2
ifloat: 2
-Test "asin (0.7) == 0.7753974966107530637":
+Test "asin (0.7) == 0.77539749661075306374035335271498708":
double: 1
float: 2
idouble: 1
@@ -164,14 +164,16 @@ idouble: 1
Test "Imaginary part of: cexp (-2.0 - 3.0 i) == -0.1339809149295426134 - 0.0190985162611351964 i":
float: 1
ifloat: 1
-Test "Real part of: cexp (0.7 + 1.2 i) == 0.7296989091503236012 + 1.8768962328348102821 i":
+Test "Real part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i":
double: 1
float: 1
idouble: 1
ifloat: 1
-Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.7296989091503236012 + 1.8768962328348102821 i":
+Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i":
float: 1
ifloat: 1
+ildouble: 1
+ldouble: 1
# clog
Test "Imaginary part of: clog (-2 - 3 i) == 1.2824746787307683680 - 2.1587989303424641704 i":
@@ -269,7 +271,7 @@ idouble: 1
ifloat: 1
# cos
-Test "cos (0.7) == 0.7648421872844884262":
+Test "cos (0.7) == 0.76484218728448842625585999019186495":
double: 1
float: 1
idouble: 1
@@ -400,9 +402,11 @@ double: 2
float: 1
idouble: 2
ifloat: 1
-Test "exp10 (0.7) == 5.0118723362727228500":
+Test "exp10 (0.7) == 5.0118723362727228500155418688494574":
float: 1
ifloat: 1
+ildouble: 1
+ldouble: 1
Test "exp10 (3) == 1000":
double: 6
float: 2
@@ -424,21 +428,29 @@ double: 2
float: 1
idouble: 2
ifloat: 1
+ildouble: 2
+ldouble: 2
Test "fmod (-6.5, 2.3) == -1.9":
double: 2
float: 1
idouble: 2
ifloat: 1
+ildouble: 2
+ldouble: 2
Test "fmod (6.5, -2.3) == 1.9":
double: 2
float: 1
idouble: 2
ifloat: 1
+ildouble: 2
+ldouble: 2
Test "fmod (6.5, 2.3) == 1.9":
double: 2
float: 1
idouble: 2
ifloat: 1
+ildouble: 2
+ldouble: 2
# hypot
Test "hypot (-0.7, -12.4) == 12.41974234837422060118":
@@ -601,7 +613,7 @@ ildouble: 4
ldouble: 4
# sincos
-Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842626 in cos_res":
+Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842625585999019186495 in cos_res":
double: 1
float: 1
idouble: 1
@@ -613,11 +625,13 @@ idouble: 1
ifloat: 0.5
ildouble: 1
ldouble: 1
-Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.866025403784438646764 in sin_res":
+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/2, &sin_res, &cos_res) puts 0 in cos_res":
double: 0.2758
float: 0.3667
@@ -625,7 +639,7 @@ idouble: 0.2758
ifloat: 0.3667
ildouble: 0.2252
ldouble: 0.2252
-Test "sincos (pi/6, &sin_res, &cos_res) puts 0.866025403784438646764 in cos_res":
+Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res":
float: 1
ifloat: 1
@@ -951,6 +965,8 @@ double: 2
float: 1
idouble: 2
ifloat: 1
+ildouble: 1
+ldouble: 1
Function: Real part of "cpow":
double: 1
@@ -1023,6 +1039,8 @@ double: 6
float: 2
idouble: 6
ifloat: 2
+ildouble: 1
+ldouble: 1
Function: "expm1":
double: 1
@@ -1035,6 +1053,8 @@ double: 2
float: 1
idouble: 2
ifloat: 1
+ildouble: 2
+ldouble: 2
Function: "hypot":
double: 1
@@ -1095,12 +1115,18 @@ double: 1
float: 1
idouble: 1
ifloat: 1
+ildouble: 1
+ldouble: 1
Function: "sinh":
double: 1
float: 1
idouble: 1
ifloat: 1
+
+Function: "sqrt":
+ildouble: 1
+ldouble: 1
Function: "tan":
double: 0.5
Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |