CTAN update: xint
Date: December 14, 2016 1:10:23 PM CET
Jean-François Burnol submitted an update to the
xint
package.
Version number: 1.2i 2016-12-13
License type: lppl1.3
Summary description: Expandable operations on long numbers
Announcement text:
This release principally brings speed improvements to under the hood auxiliary (mainly non arithmetic) routines. As a result \xintTrunc, \xintRound, \xintXTrunc got faster. Also \xintKeep, \xintTrim, and \xintLength were somewhat refactored and are faster. New macros \xintLastItem and \romannumeral\xintgobble (for cleaning up hundreds of thousands of unwanted tokens, if needed) and also \romannumeral\xintreplicate which is simply borrowed from expl3 with some minor changes. Some aspects of \xintFor are better explained in the docs. The documentation has dropped all usage of LaTeX "command", which was for some unknown reason to be found at a number of locations of the user manual, in favor of "macro", which is more apt for a package (which works under any TeX -- as long as its primitives are not obfuscated of course!) almost all of whose macros work by expansion only (and \numexpr).
The package's Catalogue entry can be viewed at http://www.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 Erik Braun
We are supported by the TeX users groups. Please join a users group; see http://www.tug.org/usergroups.html .
This release principally brings speed improvements to under the hood auxiliary (mainly non arithmetic) routines. As a result \xintTrunc, \xintRound, \xintXTrunc got faster. Also \xintKeep, \xintTrim, and \xintLength were somewhat refactored and are faster. New macros \xintLastItem and \romannumeral\xintgobble (for cleaning up hundreds of thousands of unwanted tokens, if needed) and also \romannumeral\xintreplicate which is simply borrowed from expl3 with some minor changes. Some aspects of \xintFor are better explained in the docs. The documentation has dropped all usage of LaTeX "command", which was for some unknown reason to be found at a number of locations of the user manual, in favor of "macro", which is more apt for a package (which works under any TeX -- as long as its primitives are not obfuscated of course!) almost all of whose macros work by expansion only (and \numexpr).
The package's Catalogue entry can be viewed at http://www.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 Erik Braun
We are supported by the TeX users groups. Please join a users group; see http://www.tug.org/usergroups.html .
xint – Expandable operations on long numbers
The bundle provides nine packages:
- xintcore, which provides expandable TeX macros that implement the basic arithmetic operations of addition, subtraction, multiplication and division, as applied to arbitrarily long numbers represented as chains of digits with an optional minus sign;
- xint, which extends xintcore with more big integer operations;
- xinttools, which provides utilities of independent interest such as expandable and non-expandable loops;
- xintfrac, which computes fractions using xint;
- xintexpr, which extends xintfrac with an expandable parser of comma separated expressions involving integers, fractions, boolean, and algebraic operators, and declared as well as dummy variables;
- xintbinhex provides conversions to and from binary and hexadecimal bases;
- xintseries, which provides basic functionality for computing partial sums using xint;
- xintgcd, which provides implementations of the Euclidean algorithm, and of its typesetting;
- xintcfrac, which deals with the computation of continued fractions.
All of the packages’ computations are done in a way that they can operate in an expanding environment.
The packages may be used either with Plain TeX or LaTeX.
Package | xint |
Version | 1.2n 2017-08-06 |
Copyright | 2013–2017 Jean-François Burnol |
Maintainer | Jean-François Burnol |