Numbers & math
Scalar
gcd()
Computes the greatest common divisor of x and y
Alias of greatest_common_divisor()
Arguments & returns
2 overloadsgcd(x, y)
Scalar
Example
Haybarn WASM 2.0.0-rc11 · In your browser
Engine example · Run to view results.