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
Modulo with negative numbers doesn't work right anymore in Rakudo #2603
Comments
From @masak<az5112> printf "%d\n", (9 % (-9)) produces -9 in rakudo -- is this a bug? Looking at it more closely, I see both a parsing bug and an arithmetic bug here. * Parsing bug: C<9 % -9> differs from C<9 % (-9)>. It shouldn't. |
From @moritzThe arithmetic bug has been fixed in 2011.12-44-g13f3e6d, tests are in |
@moritz - Status changed from 'new' to 'open' |
From @moritzThe parsing bug has also been fixed. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#107492 (status was 'resolved')
Searchable as RT107492$
The text was updated successfully, but these errors were encountered: