New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rakudo says NaN === NaN is False #2357
Comments
From @masak<TimToady> rakudo: say NaN == NaN |
From @bbkr2011.09 build: still broken bbkr:rakudo-2011.09 bbkr$ ./perl6 -e 'say NaN == NaN' bbkr:rakudo-2011.09 bbkr$ ./perl6 -e 'say NaN === NaN' |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Mon Feb 07 17:12:00 2011, masak wrote:
Test added in S02-types/nan.t |
From @cokeOn Sat Oct 13 20:13:45 2012, coke wrote:
Fixed in a82c407. -- |
@coke - Status changed from 'open' to 'resolved' |
From @masakmasak (>>>), coke (>):
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. |
Migrated from rt.perl.org#83622 (status was 'resolved')
Searchable as RT83622$
The text was updated successfully, but these errors were encountered: