πŸ“˜ 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

Your email address will not be published. Required fields are marked *

Retype the CAPTCHA code from the image
Change the CAPTCHA codeSpeak the CAPTCHA code