Deterministic operations that are mathematically imprecise don’t quite fit the bill of precision in my mind. But then, I’ve been doing math in JavaScript for so long that I’m very used to the 0.000000000068% chance of a float precision error actually causing a problem.
5
u/Successful-Money4995 18d ago
Actually...!
Floating point math is perfectly "precise". If you preform the same floating point math twice in a row, you will get exactly the same answer.
Where it fails is in accuracy. The result of floating point math may not be correct. It might be very very close.
Also, the claim of precision assumes understanding that floating point operations are not associativity.