CTAN update: xint
- Logarithms (natural and to the base 10), exponentials and powers now available up to 62 digits. - Trigonometric functions also available at high degree of accuracy up to 62 digits. - Special fast mode at 8 digits or less for the above mentioned functions, at a lowered accuracy standard (correct rounding perhaps only in about 95% of cases), but largely precise enough for tasks such as plots. Also taking this opportunity to announce xintsession which has been available for a few weeks. Try out "etex xintsession" or, if available, "rlwrap etex xintsession" on the command line.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/xint The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/generic/xint/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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 |