Who is fixing libm-ieee754?

H.J. Lu hjl@lucon.org
Sat Feb 21 17:50:00 GMT 1998


> 
> 
> In case it helps anyone -
> 
> I ran the ELEFUNT elementary function tests against the math libraries
> from libc 5 and 6.  I don't really know how to interpret them, but
> they're at ftp://rabi.phys.columbia.edu/pub/elefunt.shar .  I used egcs
> 1.0.1's C compiler in combination with f2c from the Netlib archive.
> 
> The single precision tests probably didn't test libc6's true single
> precision math functions.
> 

I believe egcs 1.0.2 has some serious bugs on x86 when fp is
used. It miscompiled libm-ieee754 in glibc 2.1 when -O2 is used.
I will try to come up with a small test case to show it.

-- 
H.J. Lu (hjl@gnu.org)



More information about the Gcc mailing list