CTAN update: xint
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.
|Copyright||2013–2017 Jean-François Burnol|
- 2017-08-08 CTAN Update: xint
- 2017-08-02 CTAN update: xint
- 2017-07-28 CTAN update: xint
- 2017-01-08 CTAN update: xint
- 2016-12-24 CTAN Update: xint
- 2016-12-14 CTAN update: xint
- 2016-03-20 CTAN update: xint
- 2016-03-13 CTAN update: xint