Hacker News new | ask | show | jobs
by bananzamba 57 days ago
If you need equality, just use fixed point
1 comments

I agree that using fixed point in many cases is a better option. But floating point is assumed to be the default choice for computations with non-integer numbers, because almost all popular programming languages have only floating-point built-in types, but not fixed point types.