CTAN update: bnumexpr

CTAN Announcements ctan-ann at ctan.org
Thu Oct 15 20:36:13 CEST 2015

Jean-François Burnol submitted an update to the



Version number: 1.2a 2015-10-14
License type: lppl1.3

Summary description: Extends eTeX’s \numexpr...\relax construct to big integers

Announcement text:
The package bnumexpr allows _expandable_ computations with big integers,
the four infix operators +, -, *, / (which does rounded division), the
power operators ^ or **, the factorial !, the truncated division //, and
its associated modulo /:.

For example:

     \thebnumexpr (92874927979^5-3197927979^6)/30!\relax

outputs -4006240736596543944035189.

By default the underlying arithmetic macros are the ones provided by
package xintcore [1] (its release 1.2 is required).

[1] http://www.ctan.org/pkg/xint

bnumexpr has only one option _custom_ which says to not load xintcore,
and a command \bnumexprsetup to inform the package which macros to use
if not those from xintcore.

This is a breaking release: some options and commands from v1.1 are not
defined anymore (as \bnumexprsetup provides a new interface), and
documents which used them will need updating.

This package is located at

More information is at

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
     Ina Dau

More information about the Ctan-ann mailing list