Announcements for xint
- 2025-09-06 CTAN update: xint
- 2022-06-12 CTAN update: xint
- 2021-05-26 CTAN update: xint
- 2021-05-06 CTAN update: xint
- 2020-02-27 CTAN update: xint
- 2020-02-20 CTAN update: xint
- 2020-02-02 CTAN Update: xint
- 2019-09-12 CTAN update: xint
- 2019-04-07 CTAN update: xint
- 2019-01-07 CTAN Update: xint
- 2018-06-18 CTAN update: xint
- 2018-05-19 CTAN update: xint
- 2018-03-08 CTAN update: xint
- 2018-03-02 CTAN update: xint
- 2018-02-07 CTAN update: xint
- 2017-12-07 CTAN update: xint
- 2017-08-30 CTAN update: xint
- 2017-08-08 CTAN Update: xint
- 2017-08-02 CTAN update: xint
- 2017-07-28 CTAN update: xint
- 2017-01-08 CTAN update: xint
- 2016-12-24 CTAN Update: xint
- 2016-12-14 CTAN update: xint
- 2016-11-22 CTAN update: xint
- 2016-03-20 CTAN update: xint
- 2016-03-13 CTAN update: xint
- 2015-11-20 CTAN update: xint
- 2015-11-17 CTAN update: xint
- 2015-10-30 CTAN update: xint
- 2015-10-21 CTAN update: xint
- 2015-10-12 CTAN update: xint
- 2014-10-29 CTAN Update: xint
- 2014-02-28 CTAN update: xint
- 2014-01-24 CTAN Update: xint
- 2014-01-10 CTAN Update: xint
- 2013-12-23 CTAN update (delayed announcement) xint
- 2013-11-24 CTAN Update: xint
- 2013-11-05 CTAN Update: xint
- 2013-10-30 CTAN Update: xint
- 2013-10-11 CTAN Update: xint
- 2013-09-25 CTAN Update: xint
- 2013-06-17 CTAN update: xint
- 2013-06-17 CTAN Update: xint
- 2013-06-13 CTAN Update: xint
- 2013-06-12 CTAN update: xint
- 2013-05-27 CTAN Update: xint
- 2013-05-03 CTAN Update: xint
- 2013-04-26 CTAN Update: xint
- 2013-04-16 CTAN update: xint
- 2013-04-02 New on CTAN: xint
xint – Expandable arbitrary precision floating point and integer operations
Loading xintexpr provides \xinteval and \xintfloateval.
\xintfloateval evaluates numerical expressions. The floating point precision defaults to 16 decimal digits and can be set by user. Trigonometry, exponential and logarithms are implemented up to a maximal precision of 62 decimal digits.
\xinteval computes exactly with integers, fractions, and decimal numbers or numbers in scientific notation. Note though that multiplying two floating point numbers will about double the number of digits, and so on, because the algebra is done exactly.
Both are compatible with expansion-only context.
Loading xintexpr imports automatically various other modules that it depends upon. Among them:
- xinttools: utilities such as expandable and non-expandable loops,
- xint: macros implementing in particular the basic operations on arbitrarily long integers,
- xintbinhex: conversions between decimal and binary, octal, or hexadecimal bases for arbitrarily long integers,
- xintfrac: macros implementing in particular the basic operations on arbitrarily large fractions, decimal numbers, or numbers in scientific notation.
Further modules of independent interest include xintgcd, xintseries and xintcfrac.
You can use xintexpr (and the other components) with LaTeX (via \usepackage) or also with Plain TeX, OpTeX, or ConTeXt (via \input xintexpr.sty).
All the components are documented in the file xint.pdf, which also contains the commented source code.
Package | xint |
Version | 1.4o 2025-09-06 |
Copyright | 2013–2022, 2025 Jean-François Burnol |
Maintainer | Jean-François Burnol |
Atom Atom 1.0 feed with announcements for package xint.
RSS RSS 2.0 feed with announcements for package xint.