4 ms·
Disagree with this one - problem is that floating point errors tend to be cumulative and doing something simple like summing a year of sales records the errors
by zxcvbn4038 7y ago
Disagree with this one - problem is that floating point errors tend to be cumulative and doing something simple like summing a year of sales records the errors start to reflect in pennies surprising quickly. But luckily this has been a solved problem for decades - fixed point and binary coded decimal.
https://en.m.wikipedia.org/wiki/Fixed-point_arithmetic https://en.m.wikipedia.org/wiki/Fixed-point_arithmetic
https://en.m.wikipedia.org/wiki/Binary-coded_decimal https://en.m.wikipedia.org/wiki/Binary-coded_decimal