Cipolla's algorithm: Difference between revisions

m
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 1,381:
?{n,p,cipolla(n,p)}
end for</lang>
Obviously were you to use that in anger, you would probably rip out a few ba_sprintmpz_get_str() and return NULL/false rather than "0"/"false", etc.
{{out}}
<pre>
7,796

edits