On Wed, Aug 18, 2010 at 12:41 PM, Nicholas Clark <[email protected]> wrote: > On Tue, Aug 17, 2010 at 09:30:03PM -0700, Will Coleda via RT wrote: >> On Tue Nov 17 08:32:14 2009, masak wrote: >> > <diakopter> rakudo: say 0e99999999999 # masak >> > <p6eval> rakudo 7347ec: undefined identifier 'NaN' [...] >> > <moritz_> ng: say 0e99999999999 >> > <p6eval> ng 94fa72: error:imcc:syntax error, unexpected IDENTIFIER, >> > expecting COMMA or ')' ('NaN') >> > <diakopter> whoa >> > * masak submits rakudobug >> >> 00:29 <[Coke]> rakudo: say 0e99999999999 >> 00:29 <p6eval> rakudo 67778a: OUTPUT«NaN???» >> >> That looks better. assigning to moritz++ for testification. > > NaN? > > Perl 5 thinks: > > $ perl -le 'print 0e99999999999' > 0 > $ perl -le 'print 1e99999999999' > inf > > and I find its answers more pleasing. > > Nicholas Clark >
Whoops, I meant better in that it actually returned a value instead of vomiting. =-) Agreed that the actual value is wrong. -- Will "Coke" Coleda
