CTAN Update: xint
Date: January 7, 2019 7:40:33 PM CET
Jean-François Burnol submitted an update to the
xint
bundle.
Version: 1.3d 2019-01-06
License: lppl1.3c
Summary description: Expandable operations on long numbers
Announcement text:
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 .
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 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 TeX, LaTeX, or (a priori) any other macro format built upon TeX.
Package | xint |
Version | 1.4m 2022-06-10 |
Copyright | 2013–2022 Jean-François Burnol |
Maintainer | Jean-François Burnol |