Jean-François Burnol submitted the
bnumexpr
package.
Version number: 1.1 License type: lppl1.3
Summary description: Extends eTeX’s umexpr... elax construct to big integers.
Announcement text: ----------------------------------------------------------------------
v1.1 of 2014/09/21
hebnumexpr... elax is analogous to he umexpr... elax but for arbitrarily big integers. Example: hebnumexpr 30*(21-43*(512-67*(6133-812*2897))) elax which outputs -202785405180.
Option allowpower furthermore enables ^ for power operations.
By default, bnumexpr uses the arithmetic macros from xint (with / doing rounded division for compatibility with umexpr). To reduce overhead, perhaps at some point these could get extracted from xint.sty/xinttools.sty and moved to a smaller core package.
Option bigintcalc tells bnumexpr to load package bigintcalc rather than package xint (however / does then truncated division).
With option custom, neither xint nor bigintcalc are loaded and it is up to the user to provide suitable definitions for expandable macros numexprAdd, numexprSub, numexprMul, numexprDiv and, in case of option allowpower, also numexprPow.
The numexpr parser is a scaled down version of xintiiexpr from xintexpr.sty (which loads the whole chain xintfrac/xint/xinttools) Currently it is provided only as a LaTeX2e package.
----------------------------------------------------------------------
This package is located at http://mirror.ctan.org/macros/latex/contrib/bnumexpr
More information is at http://www.ctan.org/pkg/bnumexpr
We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team Manfred Lotz