RosettaCodeData/Task/Greatest-common-divisor/Gnuplot/greatest-common-divisor-1.gnuplot

2 lines
41 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
gcd (a, b) = b == 0 ? a : gcd (b, a % b)