CTAN Comprehensive TeX Archive Network

CTAN update: bnumexpr

Datum: 6. Dezember 2017 22:27:57 MEZ
Jean-François Burnol submitted an update to the bnumexpr package. Version number: 1.2c 2017-12-05 License type: lppl1.3c Summary description: Extends eTeX’s \numexpr...\relax construct to big integers Announcement text:
Sync with xintcore 1.2p: The // operator is now associated by default to _floored_, not _truncated_ division, and the /: is accordingly modified. For backwards compatibility, issuing \bnumexprsetup{div=\xintiiDivTrunc, mod=\xintiiModTrunc} will let // and /: use again truncated division, if the package is left in its default condition which is to delegate the arithmetic to xintcore macros. The default association of the / operator with rounded division is not modified.
This package is located at http://mirror.ctan.org/macros/latex/contrib/bnumexpr More information is at http://www.ctan.org/pkg/bnumexpr We are supported by the TeX User Groups. Please join a users group; see http://www.tug.org/usergroups.html .
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).

Paketbnumexpr
Version1.7a 2025-09-14
Copyright2014–2025 Jean-François Burnol
BetreuerJean-François Burnol

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren