Skip to content

@xtandard/lib/bignumber

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

import { … } from "@xtandard/lib/bignumber";
Name Summary
BigNumberInterval Instance type of BigNumberInterval.
Name Summary
bigNumberDomain Exact-decimal IntervalDomain backed by bignumber.js. Continuous; finite-only (NaN/±Infinity fail isValid). Bound to a class as BigNumberInterval.
BigNumberInterval Interval over bignumber.js BigNumber values — exact, continuous.