sorear/niecza

NaN doesn't match NaN

Closed this issue · 1 comments

coke commented

19:47 < [Coke]> perl6: say NaN ~~ NaN
19:47 <+p6eval> rakudo a8c513: OUTPUT«Bool::True␤»
19:47 <+p6eval> ..pugs b927740: OUTPUT«1␤»
19:47 <+p6eval> ..niecza v13-20-g4d836ba: OUTPUT«Bool::False␤»
19:48 < colomon> I reckon that's a niecza bug, but I didn't try to sort it out
today. :)
19:49 < [Coke]> I'll open a ticket.

This is causing at least one test failure in S32-num/roots.t

I changed the test to ~~ 'NaN' (as all the other tests in the file already were) and removed the fudging, so the failure in roots.t is gone. The bug remains, however.