CTAN update: xint
- 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),
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 TeX, LaTeX, or (a priori) any other macro format built upon TeX.
|Copyright||2013–2022 Jean-François Burnol|
- 2022-06-12 CTAN update: xint
- 2021-05-26 CTAN update: xint
- 2021-05-06 CTAN update: xint
- 2020-02-27 CTAN update: xint
- 2020-02-20 CTAN update: xint
- 2020-02-02 CTAN Update: xint
- 2019-04-07 CTAN update: xint
- 2019-01-07 CTAN Update: xint