Appears the root problem is:

$ 6 'say 0/0 cmp -Inf’
More

> On 30 Dec 2016, at 04:18, Aleks-Daniel Jakimenko-Aleksejev (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
> # Please include the string:  [perl #130452]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=130452 >
> 
> 
> Code:
> (-∞^..^∞).in-range: 0/0
> 
> 
> Result (2015.12,2016.03):
> X::OutOfRange exception produced no message
>  in block <unit> at /tmp/WOkgMZTuHS line 1
> 
> 
> Result (2016.04,HEAD):
> True
> 
> 
> Bisectable points to 
> https://github.com/rakudo/rakudo/commit/a424f07447307a8c89abdd7365d1aea1f80b6dc6
> 
> 
> Basically, 0/0 is NaN, so I was expecting False as a result. Throwing an 
> error is also OK (though the previous one was LTA).

Reply via email to