CTAN Comprehensive TeX Archive Network

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
Version2.0a1 2026-11-01
LicensesThe Project Public License 1.3c
Copyright2013–2022, 2025, 2026 Jean-François Burnol
MaintainerJean-François Burnol
Contained inTeX Live as xint
MiKTeX as xint
TopicsCalculation
Arithmetic

Download the contents of this package in one zip archive (6.0M).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author