CTAN Comprehensive TeX Archive Network

CTAN update: xint

Date: May 19, 2018 9:16:47 PM CEST
Jean-François Burnol submitted an update to the xint package. Version number: 1.3b 2018-05-18 License type: lppl1.3c Summary description: Expandable operations on long numbers Announcement text:
These additions related to randomness are marked as work-in-progress. They require an engine providing the \(pdf)uniformdeviate primitive. - XINTKERNEL: \xintUniformDeviate. - XINT: \xintRandomDigits, \xintXRandomDigits, \xintiiRandRange, \xintiiRandRangeAtoB. - XINTFRAC: support macros (not public, mainly because internal format for floats is surely not final) for random() and qrand(). - XINTEXPR: random(), qrand(), and randrange(A[, B]).
This package is located at http://mirror.ctan.org/macros/generic/xint More information is at http://www.ctan.org/pkg/xint We are supported by the TeX User Groups. Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Ina Dau

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.

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

Announcements

more

Guest Book Sitemap Contact Contact Author