From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>, Roland McGrath <roland@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Update ulps on i386/s390{,x} for GCC 3.4
Date: Fri, 11 Jun 2004 13:45:00 -0000 [thread overview]
Message-ID: <20040611113137.GM5191@sunsite.ms.mff.cuni.cz> (raw)
Hi!
With GCC 3.4, some routines lost slightly precision (while others improved,
but ulps should satisfy GCC 3.{2,3,4} at least).
There are two more problems with GCC 3.4 and glibc, on i386 inl-tester
failed (likely a miscompilation) and GCC 3.4 compiled libm on s390/s390x
fails a bunch of tests for exceptions being raised/not-raised on NaN/Inf
arguments in test-double (e.g. sqrt (NaN)).
Will look into that next.
2004-06-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/libm-test-ulps: Update fro GCC 3.4.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.
--- libc/sysdeps/i386/fpu/libm-test-ulps.jj 2003-03-22 07:14:23.000000000 +0100
+++ libc/sysdeps/i386/fpu/libm-test-ulps 2004-06-11 14:59:30.754249000 +0200
@@ -609,9 +609,9 @@ ildouble: 1
ldouble: 1
Test "jn (3, 10.0) == 0.0583793793051868123429354784103409563":
double: 1
-float: 1
+float: 2
idouble: 1
-ifloat: 1
+ifloat: 2
ildouble: 1
ldouble: 1
Test "jn (3, 2.0) == 0.128943249474402051098793332969239835":
--- libc/sysdeps/s390/fpu/libm-test-ulps.jj 2003-12-11 22:23:20.000000000 +0100
+++ libc/sysdeps/s390/fpu/libm-test-ulps 2004-06-11 15:18:13.925962006 +0200
@@ -287,6 +287,9 @@ double: 1
idouble: 1
# erfc
+Test "erfc (0.75) == 0.288844366346484868401062165408589223":
+float: 1
+ifloat: 1
Test "erfc (2.0) == 0.00467773498104726583793074363274707139":
double: 1
idouble: 1
@@ -534,8 +537,13 @@ float: 1
idouble: 2
ifloat: 1
Test "y0 (10.0) == 0.0556711672835993914244598774101900481":
+double: 1
float: 1
+idouble: 1
ifloat: 1
+Test "y0 (2.0) == 0.510375672649745119596606592727157873":
+double: 1
+idouble: 1
Test "y0 (8.0) == 0.223521489387566220527323400498620359":
double: 1
float: 1
@@ -547,7 +555,9 @@ Test "y1 (0.125) == -5.19993611253477499
double: 1
idouble: 1
Test "y1 (1.5) == -0.412308626973911295952829820633445323":
+double: 1
float: 1
+idouble: 1
ifloat: 1
Test "y1 (10.0) == 0.249015424206953883923283474663222803":
double: 3
@@ -577,8 +587,13 @@ float: 1
idouble: 2
ifloat: 1
Test "yn (0, 10.0) == 0.0556711672835993914244598774101900481":
+double: 1
float: 1
+idouble: 1
ifloat: 1
+Test "yn (0, 2.0) == 0.510375672649745119596606592727157873":
+double: 1
+idouble: 1
Test "yn (0, 8.0) == 0.223521489387566220527323400498620359":
double: 1
float: 1
@@ -588,7 +603,9 @@ Test "yn (1, 0.125) == -5.19993611253477
double: 1
idouble: 1
Test "yn (1, 1.5) == -0.412308626973911295952829820633445323":
+double: 1
float: 1
+idouble: 1
ifloat: 1
Test "yn (1, 10.0) == 0.249015424206953883923283474663222803":
double: 3
@@ -610,20 +627,24 @@ double: 1
idouble: 1
Test "yn (10, 0.75) == -2133501638.90573424452445412893839236":
double: 1
-float: 1
+float: 2
idouble: 1
-ifloat: 1
+ifloat: 2
Test "yn (10, 1.0) == -121618014.278689189288130426667971145":
double: 1
+float: 2
idouble: 1
+ifloat: 2
Test "yn (10, 10.0) == -0.359814152183402722051986577343560609":
-double: 1
+double: 2
float: 1
-idouble: 1
+idouble: 2
ifloat: 1
Test "yn (10, 2.0) == -129184.542208039282635913145923304214":
-double: 2
-idouble: 2
+double: 3
+float: 1
+idouble: 3
+ifloat: 1
Test "yn (3, 0.125) == -2612.69757350066712600220955744091741":
double: 1
idouble: 1
@@ -804,7 +825,9 @@ idouble: 1
Function: "erfc":
double: 1
+float: 1
idouble: 1
+ifloat: 1
Function: "exp10":
double: 6
Jakub
next reply other threads:[~2004-06-11 13:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-11 13:45 Jakub Jelinek [this message]
2004-06-11 16:16 ` Martin Schwidefsky
2004-06-11 16:33 ` Jakub Jelinek
2004-06-11 16:41 ` Martin Schwidefsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040611113137.GM5191@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).