masak (>>>), coke (>):
> > > <TimToady> rakudo: say NaN === NaN
> > > <p6eval> rakudo a37640: OUTPUT«Bool::False␤»
> > > <TimToady> that one could be true, since it's asking a non-numeric
> > > question
>
> [...]
>
> Fixed in a82c407.

I just want to add, for completion, that discussion on #perl6 mentioned that 
there are different not-a-number values. Presumably NaN is only one of these, 
and it's possible through some computation paths to get other not-a-number 
values that aren't triple-equal to NaN. *Or* Perl 6 complete hides this 
difference and calls *all* not-a-number values NaN, so that NaN is actually a 
kind of representative for all not-a-number values, and if you want to be more 
specific than that, you have to create your own values and give them the 
appropriate behavior.

Ticket is still resolved, but the above considerations may be of interest for 
someone who revisits this issue in the future.

Reply via email to