Use -fno-builtin for math tests...
Jakub Jelinek
jakub@redhat.com
Thu Nov 13 09:24:00 GMT 2003
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
More information about the Libc-alpha
mailing list