Re:There Are Only Four Billion Floats, So Test Them All (2014)
by int_19h on Thursday September 14, 2017 @07:39PM
(#15253404)
The functions called "ceil" and "floor" shouldn't do banker's rounding - the very names describe what the behavior is supposed to be.
Re:There Are Only Four Billion Floats, So Test Them All (2014)
by FabHK on Thursday September 14, 2017 @07:59PM
(#15253490)
The author is not complaining about the default rounding rule for floats in IEEE 754 (a very thoughtful standard, principally designed by William Kahan, who has several articles/rants about it on his homepage).
The author is complaining about this particular (bad) implementation of ceil and related functions giving incorrect results (some due to said rounding rule).
http://wiki.c2.com/?BankersRounding