Skip to content

@xtandard/lib/big

Exact-decimal intervals backed by big.js (peer big.js). A smaller-footprint sibling of @xtandard/lib/decimal. See docs/INTERVAL.md#decimal-intervals.

import { … } from "@xtandard/lib/big";
Name Summary
BigInterval Instance type of BigInterval.
BigValue A big.js Big instance: the endpoint type of BigInterval.
Name Summary
bigDomain Exact-decimal IntervalDomain backed by big.js. Continuous. Bound to a class as BigInterval; use it directly with parseInterval/mergeIntervals.
BigInterval Interval over big.js Big values — exact, continuous.