This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Use -fno-builtin for math tests...
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 13 Nov 2003 08:20:20 +0100
- Subject: Re: Use -fno-builtin for math tests...
- References: <u8k7648x10.fsf@gromit.moeb>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Nov 13, 2003 at 09:58:51AM +0100, Andreas Jaeger wrote:
>
> As Gwenole pointed out, we do not use -fno-builtin for the math tests.
>
> Now the ceil test fails:
> testing long double (without inline functions)
> Failure: Test: ceil (0.25) == 1.0
> Result:
> is: 0.00000000000000000000e+00 0x0.00000000000000000000p-3
> should be: 1.00000000000000000000e+00 0x8.00000000000000000000p-3
> difference: nan nan
> ulp : nan
> max.ulp : 0.0000
>
> Test suite completed:
> 2525 test cases plus 2312 tests for exception flags executed.
> 1 errors occurred.
>
> Ok to commit?
Shouldn't we use both -fno-builtin and -fbuiltin (ie. compile the testcases
twice)? People will use -fbuiltin in 99.9% of cases, so it is good if that
is tested. The drawback is that the math tests are CPU hogs both during
compile time and when running them.
Jakub