This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Fix ceill() for ldbl-96
On Thu, 13 Nov 2003, Andreas Jaeger wrote:
> But that test passes even without the patch for me on amd64, so why
> does it fail for you Gwenore?
Hmm checking, but one reason may be that your compiler used a builtin.
e.g. ceill(0.25) is optimized into ceilf(0.25) which yields a valid
result. Do we run the math testsuite with -fno-builtin?
Please try the following:
extern long double ceill(long double x);
extern void abort(void);
if ((int)ceill(0.25) != 1)