This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
ppc32: math failures - logb_downward (1) gives wrong result
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 21 Jun 2012 22:05:46 +0200
- Subject: ppc32: math failures - logb_downward (1) gives wrong result
Build current trunk (as of yesterday) on s390 with gcc 4.7, I see a
couple of failures in the math testsuite:
$ cat math/test-float.out
testing float (without inline functions)
Failure: Test: logb_downward (1.000e+0) == +0
Result:
is: -0.00000000000000000000e+00 -0x0.00000000000000000000p+0
should be: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : 0.0000
max.ulp : 0.0000
Test suite completed:
3885 test cases plus 3441 tests for exception flags executed.
1 errors occurred.
$ cat math/test-double.out
testing double (without inline functions)
Failure: Test: logb_downward (1.000e+0) == +0
Result:
is: -0.00000000000000000000e+00 -0x0.00000000000000000000p+0
should be: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : 0.0000
max.ulp : 0.0000
Test suite completed:
4152 test cases plus 3690 tests for exception flags executed.
1 errors occurred.
$ cat math/test-ldouble.out
testing long double (without inline functions)
Failure: Test: logb_downward (1.000e+0) == +0
Result:
is: -0.00000000000000000000e+00 -0x0.00000000000000000000p+0
should be: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : 0.0000
max.ulp : 0.0000
Test suite completed:
5326 test cases plus 4468 tests for exception flags executed.
1 errors occurred.
Can anybody reproduce this and investigate, please?
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126