10 lines
283 B
TypeScript
10 lines
283 B
TypeScript
|
/**
|
||
|
* Greatest-common divisor of two integers based on the iterative binary algorithm.
|
||
|
*
|
||
|
* @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
|