Re:Mean of two floating point numbers can be dangerous
by laughinghan on Sunday June 05, 2016 @01:10PM
(#11841912)
This behavior can actually be turned around and exploited to do some calculations to full precision, using algorithms that look like they would infinite loop: http://www.shapeoperator.com/2014/02/22/bisecting-floats/
[ Parent
| on HN ]
Re:Mean of two floating point numbers can be dangerous
by Scea91 on Sunday June 05, 2016 @01:29PM
(#11842021)
Thanks, it is interesting. I have encountered something related too: http://people.eecs.berkeley.edu/~jrs/papers/robust-predicate...