4 ms·
It absolutely is filed under "FP is inaccurate". If you need increased precision beyond a few digits, you must approach the problem armed with numerical comput
by 0xff00ffee 7y ago
It absolutely is filed under "FP is inaccurate".
If you need increased precision beyond a few digits, you must approach the problem armed with numerical computation knowledge and not rely on libraries or generic implementations: even between versions.
It's not a surprise, its why the Numerical Recipes books are so famous. (Heck it's even discussed in Abrash's Graphics Programming Book!)
I guess this article is more valuable that I expected: it is exposing some really glaring flaws in what people expect from their underlying language. Kinda scary, but I guess it is better late then never to learn the basics.
- zamadatix 7y agoHow is it filed under "FP is inaccurate" if it can be fixed by choice of algorithm and is about algorithms changing? Would be true of fixed point as well. Also it's generally considered poor form to continually talk about people needing to learn the basics/go to school/think like an engineer on HN - generally the focus here is on the content not on how you view the author/readers.