From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22943 invoked by alias); 11 Jun 2004 13:45:44 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 22920 invoked from network); 11 Jun 2004 13:45:44 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 11 Jun 2004 13:45:44 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i5BBVc3j004028; Fri, 11 Jun 2004 13:31:38 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i5BBVbtx004022; Fri, 11 Jun 2004 13:31:37 +0200 Date: Fri, 11 Jun 2004 13:45:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , Roland McGrath Cc: Glibc hackers Subject: [PATCH] Update ulps on i386/s390{,x} for GCC 3.4 Message-ID: <20040611113137.GM5191@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-06/txt/msg00014.txt.bz2 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 * 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