This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Geode FPU error
- To: libc-alpha at sources dot redhat dot com
- Subject: Geode FPU error
- From: Stephen L Moshier <moshier at mediaone dot net>
- Date: Thu, 8 Nov 2001 10:07:26 -0500 (EST)
- Reply-To: moshier at moshier dot ne dot mediaone dot net
After building libc from current sources on a National Cyrix Media GXm
Geode i586 clone, I get the following math complaints from make check.
A test program, statically linked with libm.a, runs ok on several other
pentiums but not on the Geode. So the problem must be something inside the
floating point unit..
testing long double (without inline functions)
Failure: Test: sinh (0x8p-32) == 1.86264514923095703232705808926175479e-9
Result:
is: 1.86264514923095703246e-09 0x8.00000000000000600000p-32
should be: 1.86264514923095703226e-09 0x8.00000000000000500000p-32
difference: 2.01948391736579022185e-28 0x8.00000000000000000000p-95
ulp : 1.0000
max.ulp : 0.0000
Failure: Test: j0 (4.0) == -3.9714980986384737228659076845169804197562E-1
Result:
is: -3.97149809863847372228e-01 -0xc.b573849f4a7cb9800000p-5
should be: -3.97149809863847372282e-01 -0xc.b573849f4a7cb9a00000p-5
difference: 5.42101086242752217004e-20 0x8.00000000000000000000p-67
ulp : 2.0000
max.ulp : 1.0000
Failure: Test: j0 (-4.0) == -3.9714980986384737228659076845169804197562E-1
Result:
is: -3.97149809863847372228e-01 -0xc.b573849f4a7cb9800000p-5
should be: -3.97149809863847372282e-01 -0xc.b573849f4a7cb9a00000p-5
difference: 5.42101086242752217004e-20 0x8.00000000000000000000p-67
ulp : 2.0000
max.ulp : 1.0000
Maximal error of `j0'
is : 2 ulp
accepted: 1 ulp
Test suite completed:
2502 test cases plus 2290 tests for exception flags executed.
4 errors occurred.