On Thu, 29 Dec 2016 19:18:12 -0800, alex.jakime...@gmail.com wrote:
> 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).


Thank you for the report. This is now fixed.

Fixes:
https://github.com/rakudo/rakudo/commit/a567eb44cae0cdae0b83e7f37ae3ddaa2743df24
https://github.com/rakudo/rakudo/commit/b2332c2172e8eaf52a0cce10266845bb61cf018a

Tests:
https://github.com/perl6/roast/commit/b5049e033a
https://github.com/rakudo/rakudo/commit/b2332c2172e8eaf52a0cce10266845bb61cf018a



Reply via email to