CTAN Comprehensive TeX Archive Network

CTAN update: bnumexpr

Date: January 8, 2019 12:42:31 PM CET
Jean-François Burnol submitted an update to the bnumexpr package. Version number: 1.2d 2019-01-07 License type: lppl1.3c Summary description: Extends eTeX’s \numexpr...\relax construct to big integers Announcement text:
- Adds \bnumeval{<expression>} user interface. - Requires (in its default configuration) xintcore 1.3d.
The package's Catalogue entry can be viewed at http://www.ctan.org/pkg/bnumexpr The package's files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/bnumexpr
Thanks for the upload. For the CTAN Team Erik Braun
We are supported by the TeX users groups. Please join a users group; see http://www.tug.org/usergroups.html .

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.7a 2025-09-14
Copyright2014–2025 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author