On Wed, 11 Oct 2017 04:25:32 -0700, sisyphus wrote:
>
> Is it the intention of the perl6 developers that such discrepancies will be
> addressed ?
Eventually, yes. A bit lower on the priorities list at the moment, though.
What you describe looks to be similar to the other issue I have in my private
bug stash:
say .1e0 + .2e0 == .3e0; # False
say 1.0e-1 + 2.0e-1 == 3.0e-1; # True;
And a brief look into guts suggests it's to do with the way our Nums are
constructed during parsing. I was able to repro the issue with the C version of
what we do in our Grammar: https://glot.io/snippets/eufyogt02g
So yeah, the plan is to eventually address these. If you spot any more
inconsistencies and weirdness, please report them.