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 bun­dle pro­vides nine pack­ages:

  • xint­core, which pro­vides ex­pand­able macros that im­ple­ment the ba­sic arith­metic op­er­a­tions of ad­di­tion, sub­trac­tion, mul­ti­pli­ca­tion and di­vi­sion, as ap­plied to ar­bi­trar­ily long num­bers rep­re­sented as chains of dig­its with an op­tional mi­nus sign;
  • xint, which ex­tends xint­core with more big in­te­ger op­er­a­tions;
  • xint­tools, which pro­vides util­i­ties of in­de­pen­dent in­ter­est such as ex­pand­able and non-ex­pand­able loops;
  • xint­frac, which com­putes frac­tions us­ing xint;
  • xin­t­expr, which ex­tends xint­frac with an ex­pand­able parser of comma sep­a­rated ex­pres­sions in­volv­ing in­te­gers, frac­tions, boolean, and al­ge­braic op­er­a­tors, and de­clared as well as dummy vari­ables;
  • xint­bin­hex pro­vides con­ver­sions to and from bi­nary and hex­adec­i­mal bases;
  • xintseries, which pro­vides ba­sic func­tion­al­ity for com­put­ing par­tial sums us­ing xint;
  • xint­gcd, which pro­vides im­ple­men­ta­tions of the Eu­clidean al­go­rithm, and of its type­set­ting;
  • xintcfrac, which deals with the com­pu­ta­tion of con­tin­ued frac­tions.

All of the pack­ages’ com­pu­ta­tions are done in a way that they can op­er­ate in an ex­pand­ing en­vi­ron­ment.

The pack­ages may be used ei­ther with Plain or .

Ver­sion1.2o 2017-08-29
Main­tainerJean-François Burnol



Guest Book Sitemap Contact Contact Author