gcd calculates the greatest common denominator of the two integer operands.
say 50 gcd 15; # 5
Science, Programming, Electronics, Languages
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