Re: problem converting Inf and NaN

2017-05-27 Thread Elizabeth Mattijsen
> On 27 May 2017, at 23:22, Elizabeth Mattijsen wrote: >> On 27 May 2017, at 19:33, Marcel Timmerman wrote: >> In perl6 version 2017.04.3-287-g3e7675a built on MoarVM version >> 2017.04-64-g6d5ea04 >> implementing Perl 6.c. I observe the following; >> >> my Num $num = Inf; >> my FatRat $f = $nu

Re: problem converting Inf and NaN

2017-05-27 Thread Elizabeth Mattijsen
> On 27 May 2017, at 19:33, Marcel Timmerman wrote: > In perl6 version 2017.04.3-287-g3e7675a built on MoarVM version > 2017.04-64-g6d5ea04 > implementing Perl 6.c. I observe the following; > > my Num $num = Inf; > my FatRat $f = $num.FatRat; > Type check failed in assignment to $f; expected F

problem converting Inf and NaN

2017-05-27 Thread Marcel Timmerman
Hi, In perl6 version 2017.04.3-287-g3e7675a built on MoarVM version 2017.04-64-g6d5ea04 implementing Perl 6.c. I observe the following; my Num $num = Inf; my FatRat $f = $num.FatRat; Type check failed in assignment to $f; expected FatRat but got Rational[Num,Int] (?) in block at line 1