CTAN Comprehensive TeX Archive Network

CTAN Up­date: xint

Date: Jan­uary 7, 2019 7:40:33 PM CET
Jean-François Burnol sub­mit­ted an up­date to the xint bun­dle. Ver­sion: 1.3d 2019-01-06 Li­cense: lp­pl1.3c Sum­mary de­scrip­tion: Ex­pand­able op­er­a­tions on long num­bers An­nounce­ment text:
Im­prove­ments and new fea­tures - xin­t­expr: the gcd() and lcm() multi-ar­gu­ments func­tions have been refac­tored to han­dle gen­eral frac­tions. The de­pen­dency on xint­gcd is re­moved. - xin­t­expr: \xin­te­val, \xin­tieval, \xin­ti­ieval, and \xint­float­e­val as syn­onyms to \xint­thexpr...\re­lax etc..., but with the (comma-sep­a­rated) ex­pres­sion as a usual braced macro ar­gu­ment. At­ten­tion: these names were for­merly used with some other (barely doc­u­mented) mean­ings, for which \xin­t­ex­pro, \xin­ti­ex­pro, etc... are now used. - xin­t­expr: \xin­tif­s­gn­expr, \xin­tif­s­gn­floa­t­expr, \xin­tif­s­g­ni­iexpr, \xin­tu­nas­sign­ex­pr­func, \xin­tu­nas­sig­ni­iex­pr­func, \xin­tu­nas­sign­floa­t­ex­pr­func, isone() and isint(). Bug fix - xint­core, xin­t­expr : di­vi­sion in \xin­ti­iexpr was bro­ken for a zero div­i­dend and a one-digit di­vi­sor (e.g. 0//7) since 1.2p due to a bug in \xin­ti­iDivMod for such ar­gu­ments. The bug was sig­naled (thanks to Kpym for re­port) and fixed shortly af­ter 1.3c re­lease of June 2018 but I then **com­pletely for­got** to up­load a bug­fix re­lease to CTAN at that time, apolo­gies for that. And the usual lot of doc­u­men­ta­tion "im­prove­ments". See CHANGES.html for more de­tails.
The pack­age’s Cat­a­logue en­try can be viewed at https://ctan.org/pkg/xint The pack­age’s files them­selves can be in­spected at http://mir­ror.ctan.org/macros/generic/xint/
Thanks for the up­load. For the CTAN Team Pe­tra Rübe-Pugliese
We are sup­ported by the TeX users groups. Please join a users group; see https://www.tug.org/user­groups.html .

xint – Ex­pand­able op­er­a­tions on long num­bers

The xint bun­dle main mod­ules are:

util­i­ties of in­de­pen­dent in­ter­est such as ex­pand­able and non-ex­pand­able loops,
ex­pand­able macros im­ple­ment­ing ad­di­tion, sub­trac­tion, mul­ti­pli­ca­tion, di­vi­sion, and pow­ers for ar­bi­trar­ily long in­te­gers,
ex­ten­sion of xint­core,
ex­tends the scope of xint to dec­i­mal num­bers, to num­bers us­ing sci­en­tific no­ta­tion and also to (ex­act) frac­tions,
pro­vides ex­pand­able parsers of nu­meric ex­pres­sions us­ing the stan­dard in­fix no­ta­tions, paren­the­ses, built-in func­tions, user de­fin­able func­tions and vari­ables (and more ...) which do ei­ther ex­act eval­u­a­tions (also with frac­tions) or float­ing point eval­u­a­tions un­der a user cho­sen pre­ci­sion.

Fur­ther mod­ules of the bun­dle are: xin­tk­er­nel (sup­port macros for all the bun­dle con­stituents), xint­bin­hex (con­ver­sion to and from hex­adec­i­mal and bi­nary bases), xint­gcd (pro­vides gcd() and lcm() func­tions to xin­t­expr), xintseries (eval­u­ates nu­mer­i­cally par­tial sums of se­ries and power se­ries with frac­tional co­ef­fi­cients), and xintcfrac (ded­i­cated to the com­pu­ta­tion and dis­play of con­tin­ued frac­tions).

All com­pu­ta­tions are com­pat­i­ble with ex­pan­sion-only con­text.

The pack­ages may be used with Plain , , or (a pri­ori) any other macro for­mat built upon .

Ver­sion1.3d 2019-01-06
Copy­right2013–2019 Jean-François Burnol
Main­tainerJean-François Burnol



Guest Book Sitemap Contact Contact Author