3 ms·
The solution is to either provide a Rational type that doesn't uses fixed values instead of floating point or to have programmers understand how floating point
by mFixman 7y ago
The solution is to either provide a Rational type that doesn't uses fixed values instead of floating point or to have programmers understand how floating point works and why you shouldn't compare them by absolute equality.