@holgerengels/compute-engine
Version:
Symbolic computing and numeric evaluations for JavaScript and Node.js
11 lines (10 loc) • 489 B
TypeScript
/* 0.26.0-alpha2 */
import { BigNum, IBigNum } from './bignum';
export declare function gcd(a: BigNum, b: BigNum): BigNum;
export declare function lcm(a: BigNum, b: BigNum): BigNum;
export declare function factorial(ce: IBigNum, n: 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;