gcd
Greatest common divisor of a and b; gcd(0, 0) is 0.
Import
Section titled “Import”Cargo feature number (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
a | u64 | The first number. |
b | u64 | The second number. |
Returns
Section titled “Returns”u64
