P5-math-bigint-lite

Jul 20, 2023

What Math::BigInts are before they become big

MathBigInt is not very good suited to work with small read typical less than 10 digits numbers, since it has a quite high per-operation overhead and is thus much slower than normal Perl for operations.

But for some applications, you want fast speed for small numbers without the risk of overflowing. This is were MathBigIntLite comes into play.

MathBigIntLite objects should behave in every way like MathBigInt objects, that is apart from the different label, you should not be able to tell the difference. Since MathBigIntLite is designed with speed in mind, there are certain limitations build-in. In praxis, however, you will not feel them, because everytime something gets to big to pass as Lite literally, it will upgrade the objects and operation in question to MathBigInt.



Checkout these related ports:
  • Zn_poly - C library for polynomial arithmetic
  • Zimpl - Language to translate the LP models into .lp or .mps
  • Zegrapher - Software for plotting mathematical objects
  • Zarray - Dynamically typed N-D expression system based on xtensor
  • Z3 - Z3 Theorem Prover
  • Yices - SMT solver
  • Yacas - Yet Another Computer Algebra System
  • Xtensor - Multi-dimensional arrays with broadcasting and lazy computing
  • Xtensor-python - Python bindings for xtensor
  • Xtensor-io - Xtensor plugin to read/write images, audio files, numpy npz and HDF5
  • Xtensor-blas - BLAS extension to xtensor
  • Xspread - Spreadsheet program for X and terminals
  • Xppaut - Graphical tool for solving differential equations, etc
  • Xplot - X11 plotting package
  • Xlife++ - XLiFE++ eXtended Library of Finite Elements in C++