CTAN Comprehensive TeX Archive Network

CTAN Update: xint

Datum: 24. Dezember 2016 08:48:33 MEZ
Jean-François Burnol submitted an update to the xint package. Version: 1.2j 2016-12-22 License: lppl1.3 Summary description: Expandable operations on long numbers Announcement text:
Improvements and new features - xinttools and xintexpr: 1. slightly improves the speed of \xintTrim. 2. speed gains for the handlers of comma separated lists implementing Python-like slicing and item extraction. Relevant non (user) documented macros better documented in sourcexint.pdf. - significant documentations tweaks (inclusive of suppressing things!), and among them two beautiful hyperlinked tables with both horizontal and vertical rules which bring the documentation of the xintexpr syntax to a kind of awe-inspiring perfection... except that implementation of some math functions is still lacking. Bug fixes - fix two 1.2i regressions caused by undefined macros (\xintNthElt in certain branches and [list][N] item extraction in certain cases.) The test files existed but were not executed prior to release. Automation in progress.
The package’s Catalogue entry can be viewed at http://www.ctan.org/pkg/xint The package’s files themselves can be inspected at http://mirror.ctan.org/macros/generic/xint/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see http://www.tug.org/usergroups.html .

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