UNPKG

jsbd

Version:

[![npm version](https://img.shields.io/npm/v/jsbd.svg)](https://www.npmjs.com/package/jsbd)

15 lines (14 loc) 534 B
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;