UNPKG

@extra2001/compute-engine

Version:

Symbolic computing and numeric evaluations for JavaScript and Node.js

10 lines (9 loc) 419 B
/* 0.28.0 */ import type { BigNum, IBigNum } from './types'; export declare function gcd(a: BigNum, b: BigNum): BigNum; export declare function lcm(a: BigNum, b: BigNum): BigNum; export declare function factorial2(ce: IBigNum, n: BigNum): BigNum; /** * If the exponent of the bignum is in the range of the exponents * for machine numbers,return true. */ export declare function isInMachineRange(d: BigNum): boolean;