CTAN update: xint
Date: March 20, 2016 8:00:09 PM CET
Jean-Fran?ois Burnol submitted an update to the
xint
package.
Version number: 1.2g 2016-03-19
License type: lppl1.3
Summary description: Expandable operations on long numbers
Announcement text:
List selectors [L][n], [L][a:b], in expressions are faster. And items are counted starting at zero, not one ([L][a:b] already followed exactly Python slicing rules). The iter keyword's meaning has changed, new one associated with rseq, former one which is associated to rrseq renamed to iterr. The float operations with large precision handle small inputs faster. The documentation has an example of using iter to implement expandably the Brent-Salamin algorithm for digits of Pi. See CHANGES.{pdf,html} for more.
This package is located at http://mirror.ctan.org/macros/generic/xint More information is at http://www.ctan.org/pkg/xint We are supported by the TeX User Groups. Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Ina Dau
List selectors [L][n], [L][a:b], in expressions are faster. And items are counted starting at zero, not one ([L][a:b] already followed exactly Python slicing rules). The iter keyword's meaning has changed, new one associated with rseq, former one which is associated to rrseq renamed to iterr. The float operations with large precision handle small inputs faster. The documentation has an example of using iter to implement expandably the Brent-Salamin algorithm for digits of Pi. See CHANGES.{pdf,html} for more.
This package is located at http://mirror.ctan.org/macros/generic/xint More information is at http://www.ctan.org/pkg/xint We are supported by the TeX User Groups. Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Ina Dau
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 |