@numio/bigmath
Version:
@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)
22 lines (21 loc) • 511 B
TypeScript
import type { MADFrom } from "../MAD/types.d.ts";
import type { BI } from "../shared/types.d.ts";
type Options = {
useMadAbove?: number;
maxBinNumber?: number;
madFrom?: MADFrom;
};
type OptionsInner = {
useMadAbove: number;
maxBinNumber: number;
madFrom: MADFrom;
};
export type FDRInner = (array: BI[], options: OptionsInner) => {
binWidth: BI;
binNum: BI;
};
export type TFDR = (array: string[], options?: Options) => {
binWidth: string;
binNum: string;
};
export {};