CTAN Update: xint
Improvements and new features - xintexpr: the gcd() and lcm() multi-arguments functions have been refactored to handle general fractions. The dependency on xintgcd is removed. - xintexpr: \xinteval, \xintieval, \xintiieval, and \xintfloateval as synonyms to \xintthexpr...\relax etc..., but with the (comma-separated) expression as a usual braced macro argument. Attention: these names were formerly used with some other (barely documented) meanings, for which \xintexpro, \xintiexpro, etc... are now used. - xintexpr: \xintifsgnexpr, \xintifsgnfloatexpr, \xintifsgniiexpr, \xintunassignexprfunc, \xintunassigniiexprfunc, \xintunassignfloatexprfunc, isone() and isint(). Bug fix - xintcore, xintexpr : division in \xintiiexpr was broken for a zero dividend and a one-digit divisor (e.g. 0//7) since 1.2p due to a bug in \xintiiDivMod for such arguments. The bug was signaled (thanks to Kpym for report) and fixed shortly after 1.3c release of June 2018 but I then **completely forgot** to upload a bugfix release to CTAN at that time, apologies for that. And the usual lot of documentation "improvements". See CHANGES.html for more details.
The package’s Catalogue entry can be viewed at https://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 https://www.tug.org/usergroups.html .
xint – Expandable operations on long numbers
The xint bundle main modules are:
- utilities of independent interest such as expandable and non-expandable loops,
- expandable macros implementing addition, subtraction, multiplication, division, and powers for arbitrarily long integers,
- extension of xintcore,
- extends the scope of xint to decimal numbers, to numbers using scientific notation and also to (exact) fractions,
- 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),
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 TeX, LaTeX, or (a priori) any other macro format built upon TeX.
|Copyright||2013–2019 Jean-François Burnol|
- 2019-09-12 CTAN update: xint
- 2019-04-07 CTAN update: xint
- 2019-01-07 CTAN Update: xint
- 2018-06-18 CTAN update: xint
- 2018-05-19 CTAN update: xint
- 2018-03-08 CTAN update: xint
- 2018-03-02 CTAN update: xint
- 2018-02-07 CTAN update: xint