News for hackers. Stuff that matters.
Re:There Are Only Four Billion Floats – So Test Them All by wlievens on Tuesday January 28, 2014 @02:29AM (#7135866)
> for irrational things your only options are doubles

That's obviously not true. For irrational things, if exact values matter, use symbolic arithmetic.

http://en.wikipedia.org/wiki/Symbolic_computation

Re:There Are Only Four Billion Floats – So Test Them All by nraynaud on Tuesday January 28, 2014 @06:38AM (#7136514)
most of the time it doesn't work very far. Very quickly you'll need some kind of truncated polynomial development or some Newton to compute a value. Last time I hit dead water very quickly, computing the length of a non-trivial curve is only doable in numerical world (that one was funny, because they expressed it as a quite complicated closed form of functions, and those functions had no closed form themselves).
Re:There Are Only Four Billion Floats – So Test Them All by ajuc on Tuesday January 28, 2014 @03:03AM (#7135959)
Yes, ok, my bad.