<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.
--
Will "Coke" Coleda
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