CTAN Comprehensive TeX Archive Network

CTAN update: xint

Date: February 27, 2020 7:49:47 AM CET
Jean-François Burnol submitted an update to the xint package. Version number: 1.4b 2020-02-25 License type: lppl1.3c Summary description: Expandable operations on long numbers Announcement text:
1.4b (2020/02/25) * Added: - functions zip() and flat() - chaining of comparison operators - customizability of the "e" separator of mantissas and exponents in output of \xintfloateval * Fixed: - \xintieval{[D]...} with a negative D (a 1.4a feature) used erroneously a catcode 12 "e" in output, which moreover was immune to customization * Announced: - long deprecated &, |, and = will be removed at next major release, use &&, || and ==. - \thexintexpr et al. will be removed at next major release, use \xinttheexpr or directly \xintexpr et al. as since 1.4 they can be used in typesetting flow. - power operators ** and ^ will turn from left to right associative at next major release. This matches with Python and l3fp. * Various documentation fixes and improvements.
This package is located at http://mirror.ctan.org/macros/generic/xint More information is at https://www.ctan.org/pkg/xint
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

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.4b 2020-02-25
Copyright2013–2020 Jean-François Burnol
MaintainerJean-François Burnol



Guest Book Sitemap Contact Contact Author