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
is-prime sub lies #4943
Comments
From @zoffixznetis-prime coerces its argument into an Int, which produces some false results: <ZoffixWin> m: say is-prime (2.5) Relevant IRC conversation: http://irclog.perlgeek.de/perl6/2015-12-27#i_11785594 Code in question: https://github.com/rakudo/rakudo/blob/b69aa55c5ca36d1df2f5c837df86a9daa50164dc/src/core/Int.pm#L392 |
From @zoffixznetSent a PR for this in Rakudo: rakudo/rakudo#656 and added extra tests for this in roast: Raku/roast#92 |
From @zoffixznetThis has been fixed in rakudo/rakudo@8c56c11 |
@zoffixznet - Status changed from 'new' to 'resolved' |
From @lizmat
Fixed with 8c56c1114cc63eeb8554403f2c , tests already added by Zoffix, can be closed. Liz |
Migrated from rt.perl.org#127044 (status was 'resolved')
Searchable as RT127044$
The text was updated successfully, but these errors were encountered: