npm.io
0.1.4 • Published yesterday

@danielsimonjr/mathts-numbers

Licence
MIT
Version
0.1.4
Deps
1
Size
3 kB
Vulns
0
Weekly
0

@danielsimonjr/mathts-numbers

Standalone numeric types for MathTS: Complex, Fraction, and BigNumber.

A focused entry point over the numeric types in @danielsimonjr/mathts-core. The implementation is re-exported, not duplicated.

Install

npm install @danielsimonjr/mathts-numbers

What it exports

  • Complex + isComplex + I, COMPLEX_ZERO/ONE/NEG_ONE.
  • Fraction + isFraction + FRACTION_ZERO/ONE/NEG_ONE/HALF/THIRD/QUARTER.
  • BigNumber + isBigNumber + BIGNUMBER_ZERO/ONE/NEG_ONE/TEN/PI/E/LN2/LN10.
  • Types: IComplex, IFraction, IBigNumber, BigNumberConfig, RoundingMode.

License

MIT (c) Daniel Simon Jr.

Keywords