-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
large right-shift of negative loses sign #4881
Comments
From zefram@fysh.orgLong right shifts (longer than operand length) of negative integers
Some very long right shifts then run into [perl #126940] and [perl -zefram |
From @lizmat
$ 6 'say -123 +> 32' Temporarily fixed with 0e24208abfcc67b22a7f , test added with 83057c9b8f97ed9b761f1 , should probably get a better fix at nqp level post Christmas. Or not. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From 1parrota@gmail.comDoes a shift value longer than the word length make any sense anyway? On 12/17/15, Elizabeth Mattijsen <liz@dijkmat.nl> wrote:
|
From zefram@fysh.orgParrot Raiser via RT wrote:
With bignums, yes it does.
(Also, 32 isn't really my word length.) -zefram |
From @zoffixznetThanks for the report. This is now fixed. Fix: |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126942 (status was 'resolved')
Searchable as RT126942$
The text was updated successfully, but these errors were encountered: