This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: How do we test the IBM ieee754 math library?
- From: Stephen L Moshier <moshier at mediaone dot net>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: libc-alpha at sourceware dot cygnus dot com
- Date: Sun, 25 Nov 2001 08:46:45 -0500 (EST)
- Subject: Re: How do we test the IBM ieee754 math library?
- Reply-to: moshier at moshier dot ne dot mediaone dot net
> Have you compared the IBM libm on x86 against the asm version on x86?
> How are the results of "make check" in glibc?
What I checked, more specifically, was IBM libm functions running with the
x86 coprocessor set to double precision. Now I see that using the
default linux fpu setting of 80-bit long double mode, the IBM routines
totally fall to pieces.
On x86 linux, make check doesn't run very far without coaxing.
It reports things like
atest-exp.out:
131049 failures; 0 errors; error rate 0.00%
maximum error: 0b7f0f5245eea089d210d002d3fb98d57
error in exp(1): 00000000000000000000000cbffc1f5e9
This may not be worthwhile trying to fix except to ask what
computer these programs were developed on or what computers they have
actually been tested on. Evidently the code is intolerant of IEEE
flaws so there are going to be various systems on which it dosn't work
properly.