CTAN Comprehensive TeX Archive Network

CTAN Update: xint

Date: April 26, 2013 9:39:18 PM CEST
Jean-François Burnol submitted an update to the xint package. Summary description: Expandable operations on long numbers License type: lppl Announcement text:
version 1.04 of xint (2013/04/25) This release has some bug fixes, important improvements in the xintseries package and its documentation, and a new component xintcfrac.sty devoted to continued fractions. 1. bug fixes: \xintIrr {0} was a bad one. Apart from that, there were some inaccuracies in the documentation. 2. the base package xint has new commands to help deal in an expandable way with token lists produced by some of the bundle macros. Also, the division routine is a bit faster, and a rounding macro has been added to the xintfrac package. 3. xintseries: a new implementation of \xintPowerSeries, based on a Horner scheme, has greatly reduced a problem of denominator build-up. Also, the package has new macros, among them \xintRationalSeries is for computing partial sums with general term F(n) where F is a rational function and the macro is given the n->F(n)/F(n-1) function. This is especially designed for series of the exponential type, again to avoid a denominator build-up which made \xintSeries and \xintPowerSeries inefficient in such situations. The documentation has been correspondingly extended. 4. xintcfrac: this is a new package to deal with matters of continued fractions. For example \xintCFrac is like amsmath \cfrac apart from a little detail: it first computes the continued fraction corresponding to a given fractional number! (and then feeds \cfrac with it; almost all package macros only deal with computations, not typesetting). The package includes commodities to specify the coefficients of the (possibly generalized) continued fraction as function of the index, to compute simple and centered continued fractions, to return the list of all convergents, etc... The xint.dtx source file self-extracts packages xint.sty, xintgcd.sty, xintfrac.sty, xintseries.sty and xintcfrac.sty (as well as xint.ins).
This package is located at http://mirror.ctan.org/macros/generic/xint . More information is at http://www.ctan.org/pkg/xint (if the package is new it may take a day for that information to appear). 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 Rainer Schöpf

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