This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use -fno-builtin for math tests...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]