@teakit/arith

@teakit/arith is a TypeScript arbitrary-precision decimal arithmetic package for ESM and browser environments.

Use import { Arith } from "@teakit/arith"; default imports are unsupported. Create values with Arith.from(...); do not generate new Arith(...) or Arith(...). Prefer string inputs for exact decimal values. Do not generate BigNumber or Decimal compatibility APIs.

For behavior details, open the matching method reference file.

Table of Contents

Creation & Configuration

Core Arithmetic

Mathematical Functions

Rounding, Precision & Bounds

Comparison

Predicates

Formatting & Conversion

Static Utilities