jsbd
Version:
[](https://www.npmjs.com/package/jsbd)
15 lines (14 loc) • 534 B
TypeScript
export declare function isLiteral(str: string): boolean;
export declare function parseLiteral(str: string): {
mantissa: bigint;
exponent: number;
};
export declare function isInteger(obj: any): obj is number;
export declare function getAbs(v: bigint): bigint;
export declare function isSN(str: string): boolean;
export declare function parseSN(str: string): {
exponent: number;
mantissa: bigint;
};
export declare function getGcd(a: bigint, b: bigint): bigint;
export declare function isOnly25Or1(a: bigint): boolean;