Re:Comparing Floating-Point Numbers Is Tricky
by rusk on Friday March 31, 2017 @04:18AM
(#14001971)
My basic rule of thumb is to only use floats at the presentation layer, for storage, or for measurements. If you're doing any serious calculations you need to normalise to a more reliable format first.
[ Parent
| on HN ]
There are no comments on this comment yet.