CTAN Comprehensive TeX Archive Network

CTAN update: xint

Date: December 7, 2017 9:15:43 PM CET
Jean-François Burnol submitted an update to the xint package. Version number: 1.2p 2017-12-05 License type: lppl1.3c Summary description: Expandable operations on long numbers Announcement text:
Breaking changes: - \xintBezout macro from xintgcd.sty has a new output format. - \xintiiMod macro, and the /: (aka 'mod') operators, as well as the mod() function, and the division // operator are now associated with the _floored_, not the _truncated_ division. This matches convention of the Python language. This is breaking change for operands of opposite signs. New and improved: - the venerable \xintListWithSep macro got faster. - new divmod() function for the expression parsers. - \xintdefvar et al. now authorize simultaneous assignments. - the usual documentation fixes and polishes. See CHANGES.html for bug fixes and more details.
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 xint bundle main modules are:

utilities of independent interest such as expandable and non-expandable loops,
expandable macros implementing addition, subtraction, multiplication, division, and powers for arbitrarily long integers,
extension of xintcore,
extends the scope of xint to decimal numbers, to numbers using scientific notation and also to (exact) fractions,
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 .

Version1.3f 2019-09-10
Copyright2013–2019 Jean-François Burnol
MaintainerJean-François Burnol



Guest Book Sitemap Contact Contact Author