CTAN
Comprehensive TeX Archive Network

CTAN up­date: xint

Date: De­cem­ber 14, 2016 1:10:23 PM CET
Jean-Fran├žois Burnol sub­mit­ted an up­date to the xint pack­age. Ver­sion num­ber: 1.2i 2016-12-13 Li­cense type: lp­pl1.3 Sum­mary de­scrip­tion: Ex­pand­able op­er­a­tions on long num­bers An­nounce­ment text:
This re­lease prin­ci­pally brings speed im­prove­ments to un­der the hood aux­il­iary (mainly non arith­metic) rou­tines. As a re­sult \xin­tTrunc, \xin­tRound, \xin­tXTrunc got faster. Also \xin­tKeep, \xin­tTrim, and \xin­tLength were some­what refac­tored and are faster. New macros \xin­tLastItem and \ro­man­nu­meral\xint­gob­ble (for clean­ing up hun­dreds of thou­sands of un­wanted to­kens, if needed) and also \ro­man­nu­meral\xin­trepli­cate which is sim­ply bor­rowed from ex­pl3 with some mi­nor changes. Some as­pects of \xin­tFor are bet­ter ex­plained in the docs. The doc­u­men­ta­tion has dropped all us­age of LaTeX "com­mand", which was for some un­known rea­son to be found at a num­ber of lo­ca­tions of the user man­ual, in fa­vor of "macro", which is more apt for a pack­age (which works un­der any TeX -- as long as its prim­i­tives are not ob­fus­cated of course!) al­most all of whose macros work by ex­pan­sion only (and \nu­m­expr).
The pack­age's Cat­a­logue en­try can be viewed at http://www.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 Erik Braun
We are sup­ported by the TeX users groups. Please join a users group; see http://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:

xint­tools
util­i­ties of in­de­pen­dent in­ter­est such as ex­pand­able and non-ex­pand­able loops,
xint­core
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,
xint
ex­ten­sion of xint­core,
xint­frac
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,
xin­t­expr
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 .

Pack­agexint
Ver­sion1.2p 2017-12-05
Main­tainer Jean-Fran├žois Burnol

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author