3 ms·
If you need equality, just use fixed point
by bananzamba 6mo ago
If you need equality, just use fixed point
- Panzerschrek 6mo agoI 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.