CTAN update: bnumexpr

CTAN Announcements ctan-ann at ctan.org
Tue May 18 09:23:43 CEST 2021


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


More information about the Ctan-ann mailing list