Hacker News new | ask | show | jobs
by rusk 3367 days ago
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.