3 ms·
a) You want rationals, not "decimals". Limiting yourself to denominators of powers of 10 is utterly stupid if you have the chance to implement a proper number t
by otabdeveloper4 4y ago
a) You want rationals, not "decimals". Limiting yourself to denominators of powers of 10 is utterly stupid if you have the chance to implement a proper number type stack.
b) Floats are efficient approximations of real numbers. Trigonometry and logarithms are vastly more important than having the numbers be printed pretty, so defaulting to rationals instead of reals is quite insane.
- lmm 4y ago> Trigonometry and logarithms are vastly more important than having the numbers be printed pretty Citation needed. I suspect more people are doing accountancy than physics simulations.