UNPKG

@numio/bigmath

Version:

@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)

4 lines (3 loc) 192 B
import type { BI } from "../shared/types.d.ts"; export type CbrtInner = (value: BI, prec?: BI, max?: number) => [BI, number]; export type Cbrt = (value: string, precision?: string) => string;