CTAN update: xint
- xint 2.0a2 reduces the main-memory footprint of 2.0a1 by a factor of four. It remains about 2.5 times that of xint 1.4q. - The pre-2.0 semantics of `\xintDigits` and `\xintDigits*` are restored: the starred variant is again required to update the precision of the scientific libraries. - Integer powers in `\calxeval` and `\xintfloateval` again have a dedicated implementation, typically almost twice as fast as the pre-2.0 one at 16 digits. Only non-integer powers and exceptionally large integer exponents will cause powers to use the log/exp route. Ordinary integer powers in the floating point parsers are thus no longer subject to the 100-digit limitation of the scientific libraries.
This package is located at https://mirrors.ctan.org/macros/generic/xint More information is at https://ctan.org/pkg/xint
Thanks for the upload. For the CTAN Team Manfred Lotz 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 .
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.
| Paket | Xint |
| Version | 2.0a2 2026-11-26 |
| Copyright | 2013–2022, 2025, 2026 Jean-François Burnol |
| Betreuer | Jean-François Burnol |