2021-03-24 13:04:30 +00:00
|
|
|
/**
|
2022-09-12 08:59:51 +00:00
|
|
|
* Greatest common divisor of two integers based on the iterative binary algorithm.
|
2021-03-24 13:04:30 +00:00
|
|
|
*
|
|
|
|
* @param a
|
|
|
|
* @param b
|
|
|
|
*
|
|
|
|
* @returns The greatest common divisor of a and b
|
|
|
|
*/
|
|
|
|
export declare function gcd(a: number | bigint, b: number | bigint): bigint;
|
|
|
|
//# sourceMappingURL=gcd.d.ts.map
|