On Tue, Apr 6, 2021 at 11:09 AM sisyphus <sisyphus...@gmail.com> wrote:
> [snip] > Is there behaviour in other languages (eg python ?) that supports this > approach that raku has taken ? > > I'm as unfamiliar with python3 as I am with raku, but it seems to me that python3 takes the approach that makes better sense to me, not the approach that raku takes. $ raku -e "say 9007199254740993/18014398509481984 == 0.5e0" True $ python3 -c "from fractions import Fraction;print (Fraction(9007199254740993, 18014398509481984) == 0.5e0)" False $ raku -e "say 1/10 == 0.1e0" True $ python3 -c "from fractions import Fraction;print (Fraction(1, 10) == 0.1e0)" False Cheers, Rob