CTAN Comprehensive TeX Archive Network

CTAN update (delayed announcement) xint

Date: December 23, 2013 10:25:15 AM CET
the daemon pronounced: > The following information was provided by the package's contributor. > > Name of contribution: xint > Author's name: Jean-François Burnol > Package version: 1.09i > Location on CTAN: macros/generic/xint/ > Summary description: Expandable operations on long numbers > License type: lppl > > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > 1.09i 2013/12/18 > > * \xintiiexpr is a variant of \xintexpr which is optimized to > deal only with (long) integers, / does a euclidean quotient. > > * \xintnumexpr has been renamed \xintiexpr, (former name kept > but destined to be removed) \xintiiexpr is actually closer to > \numexpr, but with integer division the euclidean one. > > * the \xintexpr parser automatically inserts \number in front of > count, dimen, and skip registers/variables, or \numexpr, etc.. > expressions, with a tacit multiplication implied if following a > number or parenthesized expression. > > * \xintAssign admits an optional argument to specify the > expansion type to be used [] (none), [o] (once), [oo] (twice), > [f] (full), ... , (the default is [e] which means to use \edef). > > * xinttools defines (if the names have not already been > assigned) \odef, \oodef, \fdef: \oodef which expands twice the > macro replacement text is a faster alternative to \edef (when > the expansion gives hundreds of digits). > > * some across the board slight efficiency improvement as a > result of modifications of various types to ``fork'' macros > and ``branching conditionals'' which are used internally. > ---------------------------------------------------------------------- thanks for the upload; i installed the new version, and updated the catalogue repository. Robin Fairbairns For the CTAN team

xint – Expandable arbitrary precision floating point and integer operations

The xint bundle main modules are:

xinttools
utilities of independent interest such as expandable and non-expandable loops,
xintcore
expandable macros implementing addition, subtraction, multiplication, division, and powers for arbitrarily long integers,
xint
extension of xintcore,
xintfrac
extends the scope of xint to decimal numbers, to numbers using scientific notation and also to (exact) fractions,
xintexpr
provides expandable parsers of numeric expressions using the standard infix notations, parentheses, built-in functions, user definable functions and variables (and more ...) which do either exact evaluations (also with fractions) or floating point evaluations under a user chosen precision.

Further modules of the bundle are: xintkernel (support macros for all the bundle constituents), xintbinhex (conversion to and from hexadecimal and binary bases), xintgcd (provides gcd() and lcm() functions to xintexpr), xintseries (evaluates numerically partial sums of series and power series with fractional coefficients), and xintcfrac (dedicated to the computation and display of continued fractions).

All computations are compatible with expansion-only context.

The packages may be used with Plain , , or (a priori) any other macro format built upon .

Packagexint
Version1.4m 2022-06-10
Copyright2013–2022 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author