CTAN Comprehensive TeX Archive Network

CTAN update: xint

Date: October 12, 2015 9:09:36 PM CEST
Jean-François Burnol submitted an update to the xint package. Version number: 1.2 2015-10-10 License type: lppl1.3 Summary description: Expandable operations on long numbers Announcement text:
- the basic arithmetic implemented in xintcore has been entirely rewritten. The mathematics remains the elementary school one, but the TeX implementation achieves higher speed (except, regarding addition/subtraction, for numbers up to about thirty digits), the gains becoming quite significant for numbers with hundreds of digits. - the inputs must have less than 19959 digits. But computations with thousands of digits take time. - a previously standing limitation of the expression parsers to numbers with less than 5000 digits has been lifted. - new macro for computing the factorials (of integers) as floating point numbers, to which the ! postfix operator inside \xintfloatexpr is mapped. - the macros \xintAdd, \xintSub, ..., now require package xintfrac. With only xintcore or xint loaded, one _must_ use \xintiiAdd, \xintiiSub, ..., or \xintiAdd, \xintiSub, etc... - an effort at randomly shuffling around various pieces of the documentation has been done.
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 Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Manfred Lotz

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 , , or (a priori) any other macro format built upon .

Packagexint
Version1.4m 2022-06-10
Copyright2013–2022 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author