repl.txt (497B)
1 2 {{alias}}( a, b ) 3 Computes the greatest common divisor (gcd). 4 5 If both `a` and `b` are `0`, the function returns `0`. 6 7 Both `a` and `b` must have integer values; otherwise, the function returns 8 `NaN`. 9 10 Parameters 11 ---------- 12 a: integer 13 First integer. 14 15 b: integer 16 Second integer. 17 18 Returns 19 ------- 20 out: integer 21 Greatest common divisor. 22 23 Examples 24 -------- 25 > var v = {{alias}}( 48, 18 ) 26 6 27 28 See Also 29 -------- 30