@extra2001/compute-engine
Version:
Symbolic computing and numeric evaluations for JavaScript and Node.js
5 lines (4 loc) • 305 B
TypeScript
/* 0.28.0 */
import type { Expression } from '../../math-json';
export declare function bigintValue(expr: Expression | null | undefined): bigint | null;
/** Output a shorthand if possible */
export declare function numberToExpression(num: number | bigint, fractionalDigits?: string | number): Expression;