# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #71008]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71008 >


<masak> rakudo: my Int $a = Inf
<p6eval> rakudo 7ce13d: Assignment type check failed; expected Int,
but got Num [...]
<masak> that seems less than reasonable to me.
<Wolfman2000> Infinity is a Num
<masak> infinity, as we all know, is an integer. :)
<Wolfman2000> masak: is it?
<masak> Wolfman2000: sure. if not, can you name its decimal expansion? :P
* masak submits rakudobug

Not, but seriously. S02:649 says that Int should be able to hold Inf
and NaN values. So it's not just me. :)

Reply via email to