# 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.

-zefram

Reply via email to