@numio/bigmath
Version:
@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)
12 lines (11 loc) • 322 B
TypeScript
import type { BI } from "../shared/types.d.ts";
export declare class PipeInner {
result: BI | undefined;
constructor();
add(array: BI[]): PipeInner;
sub(array: BI[]): PipeInner;
div(array: BI[], precision?: number): PipeInner;
mul(array: BI[]): PipeInner;
abs(): PipeInner;
get bi(): BI;
}