CTAN Comprehensive TeX Archive Network

CTAN Update: xint

Datum: 27. Mai 2013 19:17:42 MESZ
Jean-François Burnol submitted an update to the xint package. Summary description: Expandable operations on long numbers License type: lppl Announcement text given by the package's contributor:
Release 1.07a (2013/05/26) brings important additions: 1. \xintexpr...\relax is an expandable parser of algebraic expressions involving the basic operations +,-,*,/, and ^ as infix operators, as well as ! for the factorial. It expands everything along the way and recognizes integers, decimal numbers, numbers in scientific notations, and arbitrary levels of parenthesizing. 2. \xintfloatexpr...\relax is the same thing, the operations being excuted with a precision D, whose default is 16 digits, and may be set arbitrarily (theoretical maximum 32768). 3. the other package macros now accept the scientific notation on input and \xintFloat outputs in floating point format with a given precision D either specified as an optional argument or globally set. The bundle now comprises the core constituents xint, xintfrac, and the latest xintexpr which loads the two previous ones, and auxiliary packages xintgcd, xintseries and xintcfrac. The macros are usable with any flavor of TeX with the e-TeX extensions. Users of LaTeX will do \usepackage{xintexpr}, others \input xintexpr.sty
This package is located at http://mirror.ctan.org/macros/generic/xint . More information is at http://www.ctan.org/pkg/xint (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html . ---------------------------------------------------------------------- Thanks for the upload. For the CTAN Team Rainer Schöpf

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