function Gcd(const X,Y: integer): integer; overload;
Greatest common divisor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | integer | |
| 2 | Y | integer |
Returns: integer - the greatest common divisor of X and Y. X and Y must be positive integers.
See Also: Math387.Lcm
Greatest common divisor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | integer | |
| 2 | Y | integer |
Returns: integer - the greatest common divisor of X and Y. X and Y must be positive integers.