News for hackers. Stuff that matters.
Re:Practically Accurate Floating-Point Math by dalke on Monday October 27, 2014 @04:36PM (#8518015)
"Use (x-y)(x+y)" is part of the "folk wisdom." It's between "We even know some folk wisdom intended to avoid the dangers." and "or is it increasing magnitude?", where the last bit shows that perhaps these aren't the best solutions.
Re:Practically Accurate Floating-Point Math by conistonwater on Monday October 27, 2014 @04:49PM (#8518097)
No, later in the article they recommend using it, saying that it decreases floating-point errors.
Re:Practically Accurate Floating-Point Math by dalke on Monday October 27, 2014 @05:03PM (#8518166)
Ahh! Yes, in the box on p94 titled "About That Folk Wisdom". Thanks for the correction!