XFL.js is a JavaScript/TypeScript library for handling numbers in XFL format.
- Create, perform operations, and compare XFL format numbers.
- Support for high-precision numerical calculations.
- Implemented in TypeScript for type safety
You can install using npm:
npm install xfl.js
import { make_xfl, add } from 'xfl.js';
const xfl_1 = make_xfl(12, 6345031894305479n);
const xfl_2 = make_xfl(17, 4478222822793996n);
const result = add(xfl_1, xfl_2);
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you have any questions or run into issues, please open an issue on the GitHub repository.