For exact match one can use eqv:

say 1/10 eqv 0.1e0; # False
say 1/10*1e0 eqv 0.1e0; # True



Best regards,
Vadim Belman

> On Apr 6, 2021, at 7:25 PM, Ralph Mellor <ralphdjmel...@gmail.com> wrote:
> 
>> 1/10 == 1e1 # True
>> 
>> Aiui this is correct (and to me intuitive) behaviour described here:
> 
> Except A) that's not what the doc says, and B) how does one
> compare numbers *without* infection, if that's what's going on?
> 
> So it probably makes sense to ignore at least that part of my
> previous email. Maybe the rest of it too. I shouldn't be writing
> emails after midnight. Goodnight.
> 
> --
> raiph
> 

Reply via email to