4 ms·
Nope! More precision sure helps but not in all cases. For example, having more precision will not help in boundary problems where you have to decide if somethin
by wiz21c 4y ago
Nope! More precision sure helps but not in all cases. For example, having more precision will not help in boundary problems where you have to decide if something (for example an amount of money) is above or below a threshold.
Moreover, many problems related to money) must compute with limited accuracy. For example, all intermediary results must be in 1/1000th of euros. You can use floats (yeah, I know, everybody say it's a no go) or fixed point, but in the end, you absolutely can't avoid thinking about rounding.
- MaxBarraclough 4y agoSee also catastrophic cancellation, [0] although I'm unsure of the impact of using very large floating point types. [0] https://en.wikipedia.org/wiki/Catastrophic_cancellation https://en.wikipedia.org/wiki/Catastrophic_cancellation