CTAN Comprehensive TeX Archive Network

CTAN update: bnumexpr

Date: September 14, 2025 4:29:24 PM CEST
Jean-François Burnol submitted an update to the bnumexpr package. Version number: 1.7 2025-09-13 License type: lppl1.3c Summary description: Extends eTeX’s \numexpr...\relax construct to big integers Announcement text:
\bnumeval now accepts lowercase hexadecimal on input. And it produces lowercase hexadecimal if used with optional parameter [ha].
This package is located at https://mirrors.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 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