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

Re: Re: glibc: floor() is giving incorrect results on alpha architecture



Here's how my old EV45 runs your test code with
math_emu loaded:

imladris:~# ./floortest
DBL_MANT_DIG = 53
9007199254740991.000000 9007199254740991.000000

And here is without:

imladris:~# rmmod math_emu
imladris:~# ./floortest
DBL_MANT_DIG = 53
9007199254740991.000000 0.000000
floortest: floortest.c:12: main: Assertion `x == floor(x)' failed.
Aborted

This machine is not exactly up to date, but:

imladris:~# uname -a
Linux imladris 2.6.18-3-alpha-generic #1 Mon Dec 4 16:04:14 UTC 2006 alpha GNU/Linux

Cheers,
Craig



Reply to: