Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dozens of new test failures on amd64!



On Wed, Feb 12, 2014 at 07:06:18PM +0000, David Laight wrote:
> 
> *** Check failed: /test-bed/src/tests/lib/libm/t_fmod.c:53:
>        fabs(fmod(1.0, 0.1) - 0.1) <= 55 * DBL_EPSILON not met

Actually, why is that expected to succeed at all.
Surely fmod(1.0, 0.1) is either slightly >= 0.0 or slightly < 0.1

Or is it relying on the value of 0.1 being slightly high?
Maybe 0x...666667

I think it a qemu 'bug'.
If I do fmod(1.0/0.22) I get 0.12 from the first fprem.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index