exactnumber
Version:
Arbitrary-precision decimals. Enables making math calculations with rational numbers, without precision loss.
5 lines (4 loc) • 400 B
TypeScript
import type { ExactNumberType } from '../types';
export declare const atan: (value: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType;
export declare const asin: (value: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType;
export declare const acos: (value: number | bigint | string | ExactNumberType, decimals: number) => ExactNumberType;