4 ms·
But 1/3 can be represented exactly as Fraction(1, 3).
by vhcr 3y ago
But 1/3 can be represented exactly as Fraction(1, 3).
- taeric 3y ago:D That was my point, you can get there with other representations. It amuses me that Common Lisp lets me type that as 1/3. Such that (+ 1/3 1/3 1/3) gives the expected answer. This isn't without drawback, of course.