CTAN Comprehensive TeX Archive Network

CTAN update: xint

Datum: 26. Mai 2021 21:13:25 MESZ
Jean-François Burnol submitted an update to the xint package. Version number: 1.4g 2021-05-25 License type: lppl1.3c Summary description: Expandable operations on long numbers Announcement text:
Breaking: - iterated powers (** or ^) computed from right to left - removal of deprecated single-character operators &, |, and = Deprecated: - old "typesetting" macros \xintFrac et al. have been renamed into \xintTeXFrac, etc... and former names will emit warnings New: - \xintTeXfromSci - new mechanism for error messages raised by exceptions; when in interactive mode, dialog with user in only one step, not three Bugfixes: - \xinteval{_4} caused an infinite loop - ... other bugfixes, see CHANGES.html for details
This package is located at http://mirror.ctan.org/macros/generic/xint More information is at https://www.ctan.org/pkg/xint
Thanks for the upload. For the CTAN Team Erik Braun
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.

PaketXint
Version2.0a1 2026-11-01
Copyright2013–2022, 2025, 2026 Jean-François Burnol
BetreuerJean-François Burnol

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren