bigint-mod-arith/types/gcd.d.ts

10 lines
283 B
TypeScript
Raw Normal View History

/**
* 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