CTAN Comprehensive TeX Archive Network

CTAN update: bnumexpr

Date: May 13, 2021 9:16:31 PM CEST
Jean-François Burnol submitted an update to the bnumexpr package. Version number: 1.4 2021-05-12 License type: lppl1.3c Summary description: Extends eTeX’s \numexpr...\relax construct to big integers Announcement text:
- The \expanded primitive is now required (TeXLive 2019). - Addition to the syntax of the " prefix for hexadecimal input. - Addition of \evaltohex which is like \bnumeval with an extra conversion step of the output to hexadecimal notation.
This package is located at http://mirror.ctan.org/macros/latex/contrib/bnumexpr More information is at http://www.ctan.org/pkg/bnumexpr 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
Thanks for the upload. For the CTAN Team Ina Dau --

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

The package provides the command \bnumeval, which extends 's \inteval with support for arbitrarily big integers, // for floored division, /: for the associated remainder, ^ and ** for powers, ! for factorials, 0b, 0o and ', 0x and ", as prefixes for binary, octal, or hexadecimal inputs. With the optional argument [h] (or [o] or [b]) the output is converted to hexadecimal (or octal, or binary).

Packagebnumexpr
Version1.7 2025-09-13
Copyright2014–2025 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author