# New Ticket Created by Ron Schmidt # Please include the string: [perl #93976] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=93976 >
I raised this on IRC here http://irclog.perlgeek.de/perl6/2011-07-03#i_4051342 To summarize: Spec http://perlcabal.org/syn/S03.html#Declarators says "Native floating-point containers are by default initialized to NaN". In the example below it appears that $y is incorrectly initialized to zero. 12:37 PhatEddy perl6: my Num $x = NaN; my Num $y; say $x+2; say $y +2 12:37 p6eval pugs, rakudo 72d158, niecza v7-11-g9ba8284: OUTPUT«NaN2»