UNPKG

bigfloat

Version:

Fast arbitrary precision math library for computational geometry.

19 lines (18 loc) 652 B
/** Base for calculations, the bigger the better but must fit in 32 bits. */ export declare const limbSize32: number; export declare const limbInv32: number; export declare const limbsPerDigit32: number; export declare class BaseInfo32 { base: number; constructor(base: number); static init(base: number): BaseInfo32; private static baseTbl; /** Average number of digits per limb. */ limbDigitsExact: number; /** Number of entire digits per limb. */ limbDigits: number; /** Maximum power of base that fits in a limb. */ limbBase: number; /** String of zeroes for padding an empty limb. */ pad: string; }