> On 17 Dec 2015, at 03:41, Zefram (via RT) <[email protected]> > wrote: > > # New Ticket Created by Zefram > # Please include the string: [perl #126942] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=126942 > > > > Long right shifts (longer than operand length) of negative integers > should always produce -1, but in Rakudo after some length they stop > doing that and switch to an incorrect output: > >> -123 +> 8 > -1 >> -123 +> 31 > -1 >> -123 +> 32 > 0 >> -123 +> (1 +< 60) > 0 > > Some very long right shifts then run into [perl #126940] and [perl > #126941], but those are separate issues.
$ 6 'say -123 +> 32' -1 Temporarily fixed with 0e24208abfcc67b22a7f , test added with 83057c9b8f97ed9b761f1 , should probably get a better fix at nqp level post Christmas. Or not. Liz
