&gt; 0.1 and 0.2 ... are repeating decimals ...<p>Au contraire, `0.1` and `0.2` are <i>non-repeating</i> decimals.<p>Their <i>approximations</i> may be repeating of course, and some languages indulge in such approximations, but there&#x27;s nothing <i>intrinsic</i> about `0.1` that requires that it be approximated prior to storage rather than stored with 100% accuracy.<p>Many lisps do what it takes to store rationals as rationals, maintaining 100% accuracy. Perl 6 likewise treats literals of the form `1&#x2F;10` or `0.1` as the rationals they are, again maintaining 100% accuracy.