News for hackers. Stuff that matters.
Re:Essential facts about floating point calculations by kqr2 on Monday July 06, 2015 @04:34AM (#9837629)
Reference link to What Every Computer Scientist Should Know About Floating-Point Arithmetic :

http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.ht...

Re:Essential facts about floating point calculations by stinos on Monday July 06, 2015 @05:43AM (#9837871)
I can't count the amount of times I see this text being posted. Yet it takes something like a degree in math/CS/... to read and understand it completely; it is really not suitable for everyone.

As such I bookmarked Essential facts about floating point calculations so next time a psychologist or biologists comes asking me if I already knew matlab has a bug when comparing 0 to 0, I can point him/her to this document. And some proper code to compare floating point numbers using a relative error or so.

Re:Essential facts about floating point calculations by teddyh on Monday July 06, 2015 @04:40AM (#9837659)
For anyone noticing the “Oracle” in the domain name: The same document used to be at http://docs.sun.com/source/806-3568/ncg_goldberg.html