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
Unsigned int in highest bit length, stays negative #3740
Comments
From @lizmat[16:41:26] <lizmat> m: my uint64 @a = -1; say @a.perl # same for uint |
From @zoffixznetSeem you can also just decrement the uints past their boundaries too: |
The RT System itself - Status changed from 'new' to 'open' |
As a status update: The first evaluation works as expected now. (@niner reworked support for uint -- see MoarVM/MoarVM#1647, Raku/nqp#757 and rakudo/rakudo#4706):
The corresponding test in S09-typed-arrays/native-int.t has been unfudged with Raku/roast@774722cfe8. The second example still has problems, but as far as I understand chances are much better now to fix this as well:
|
And indeed, the problem has been fixed for MoarVM by now:
There were similar tests in S02-types/int-uint.t that have been unfudged with Raku/roast@774722cfe8. Since the problem is still present on the JVM backend, I'm changing the tags:
|
Migrated from rt.perl.org#124088 (status was 'open')
Searchable as RT124088$
The text was updated successfully, but these errors were encountered: