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

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



Alexander Kotelnikov wrote:
DBL_MANT_DIG = 53
9007199254740991.000000 9007199254740991.000000
10:14 pts/10 sacha@vinci:/tmp 8> uname -a
Linux vinci 2.6.23-rc8-rt2x00-gc31d1777-dirty #1 Wed Oct 3 11:44:23 MSD 2007 alpha GNU/Linux

Interesting. On my XP1000 (ev67), self compiled kernel 2.6.22.3, and running debian testing, I get:

DBL_MANT_DIG = 53
9007199254740991.000000 9007199254740990.000000
a.out: double_comparison.c:12: main: Assertion `x == floor(x)' failed.
Aborted

Michael.



Reply to: