UNPKG

exactnumber

Version:

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

5 lines (4 loc) 392 B
import type { ExactNumberType } from '../types'; export declare const sinh: (x: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType; export declare const cosh: (x: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType; export declare const tanh: (angle: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType;