📘 Numeric operator gcd in Perl 6

📘 Numeric operator gcd in Raku

N. B. Perl 6 has been renamed to Raku. Click to read more.


gcd calculates the greatest common denominator of the two integer operands.

say 50 gcd 15; # 5

Leave a Reply