DRAFTThis page is not published. Only visible in development mode.
math module · Scalar Function

math::gcd

Compute the greatest common divisor of two integers.

Syntax

RQL

Parameters

NameTypeDescription
aIntegerThe first integer
bIntegerThe second integer

Return Value

Returns an Integer representing the greatest common divisor.

Examples

$ Greatest common divisor
$ ctrl+enter to run

Related Functions