Package Exports
- v-math-test
- v-math-test/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (v-math-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
matrix-math-lib
A TypeScript library providing mathematical utilities for working with integers and decimals.
Installation
npm install matrix-math-lib
# or
yarn add matrix-math-libUsage
import { Decimal, Uint64 } from 'matrix-math-lib';
// Use Decimal for arbitrary precision, non-negative decimals
const amount = Decimal.fromUserInput('123.456', 6);
// Use integer utilities for fixed-size integers
const uint64Value = new Uint64(42);Features
- Decimal: Arbitrary precision, non-negative decimal numbers
- Integer utilities: Uint32, Uint53, Uint64, Int53
License
ISC