CTAN update: xint
Maintenance release: - documentation improvements (e.g. regarding \xintUniformDeviate). - sourcexint.pdf is better hyperlinked and with indices. - a toggle is provided for \xintdefvar, \xintdeffunc et. al. to make definitions with global scope. - both syntaxes \xintdefvar foo := expression; and \xintdefvar foo = expression; are now accepted, and in the former case the colon may have any (reasonable) catcode. This was already the case for \xintdeffunc and variants. - due to some work commit which made it to 1.3 release, xintfrac.sty (hence xintexpr.sty also) loaded xintgcd.sty automatically. Removed.
This package is located at http://mirror.ctan.org/macros/generic/xint More information is at https://www.ctan.org/pkg/xint
Thanks for the upload. For the CTAN Team Manfred Lotz We are supported by the TeX user groups. Please join a users group; see http://www.tug.org/usergroups.html .
Xint – Expandable arbitrary precision floating point and integer operations
The calx package and its superset the xintexpr package provide:
- \calxeval: numerical expression parser for floating-point computations.
- \calxinteval: numerical expression parser for computations with big integers.
Floating-point computations are supported up to 100 significant digits of precision. A full set of trigonometric, logarithmic, and exponential functions is implemented.
The two parsers are also available under their legacy names \xintfloateval and \xintiieval, respectively.
Loading xintexpr automatically loads calx and provides a third parser, \xinteval, which handles fractions. It also loads the legacy macro interface packages xintcore, xint, and xintfrac.
All three parsers produce their results by expansion alone. They accept comma-separated inputs and nested structures using square brackets. Users can define custom variables and functions.
| Package | Xint |
| Version | 2.0a1 2026-11-01 |
| Copyright | 2013–2022, 2025, 2026 Jean-François Burnol |
| Maintainer | Jean-François Burnol |