CTAN Comprehensive TeX Archive Network

CTAN update: bnumexpr

Date: May 18, 2021 9:23:43 AM CEST
Jean-François Burnol submitted an update to the bnumexpr package. Version number: 1.5 2021-05-17 License type: lppl1.3c Summary description: Extends eTeX’s \numexpr...\relax construct to big integers Announcement text:
- breaking: power operators ^ and ** now right-associative. - bugfixes: two bugs related to hexadecimal input and inherited from usptream xintexpr were fixed. - customizability and extendibility now total: added \bnumdefinfix and \bnumdefpostfix to extend or modify the existing syntax. Already with \bnumsetup (new name of \bnumexprsetup) it was possible, as is now done in the documentation, to let \bnumeval become for example a calculator operating on fractions. With the added \bnumdefinfix and \bnumdefpostfix it is possible to redefine or extend arbitrarily the implemented syntax. For example to add support for numbers in scientific notation via new infix operators `.' and `e' or `E'. Of course, it would then also be needed to map via \bnumsetup the arithmetic operations to suitable macros.
This package is located at http://mirror.ctan.org/macros/latex/contrib/bnumexpr More information is at https://www.ctan.org/pkg/bnumexpr
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

bnumexpr – Extends ’s \numexpr...\relax construct to big integers

The package extends ε- \numexpr...\relax operation to allow big integers, powers, factorials, truncated division and its associated modulo.

By default, bnumexpr loads package xintcore (part of the xint bundle) and uses its arithmetic macros.

Packagebnumexpr
Version1.5 2021-05-17
Copyright2014–2021 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author