Hacker News new | ask | show | jobs
by TacticalCoder 687 days ago
> Computers can't represent 0.1 (in floating point), yet that hasn't stopped anyone from doing finances on their computer.

floating point for financial data may have made sense back when my 386 DX CPU has a FP coprocessor and computation were dog slow.

In this day and age though you'll typically be not just a bit but much better using an abstraction that can represent numbers with decimals precisely, which frees you from a great many rounding error, epsilon computation, error propagation, etc.