UNPKG

exactnumber

Version:

Arbitrary-precision decimals. Enables making math calculations with rational numbers, without precision loss.

5 lines (4 loc) 391 B
import type { ExactNumberType } from '../types'; export declare const asinh: (x: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType; export declare const acosh: (x: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType; export declare const atanh: (x: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType;