CTAN Comprehensive TeX Archive Network

CTAN update: xint

Date: May 6, 2021 7:24:52 PM CEST
Jean-François Burnol submitted an update to the xint bundle. Version: 1.4e 2021-05-05 License: lppl1.3c Summary description: Expandable operations on long numbers Announcement text:
- Logarithms (natural and to the base 10), exponentials and powers now available up to 62 digits. - Trigonometric functions also available at high degree of accuracy up to 62 digits. - Special fast mode at 8 digits or less for the above mentioned functions, at a lowered accuracy standard (correct rounding perhaps only in about 95% of cases), but largely precise enough for tasks such as plots. Also taking this opportunity to announce xintsession which has been available for a few weeks. Try out "etex xintsession" or, if available, "rlwrap etex xintsession" on the command line.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/xint The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/generic/xint/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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.4m 2022-06-10
Copyright2013–2022 Jean-François Burnol
MaintainerJean-François Burnol



Guest Book Sitemap Contact Contact Author