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.
| Sources | /macros/generic/xint |
| Documentation | |
| Home page | |
| Bug tracker | |
| Repository | |
| Version | 2.0a1 2026-11-01 |
| Licenses | The LaTeX Project Public License 1.3c |
| Copyright | 2013–2022, 2025, 2026 Jean-François Burnol |
| Maintainer | Jean-François Burnol |
| Contained in | TeX Live as xint MiKTeX as xint |
| Topics | Calculation Arithmetic |
Download the contents of this package in one zip archive (6.0M).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments