Comprehensive TeX Archive Network

CTAN up­date: xint

Date: March 13, 2016 10:29:16 PM CET
Jean-Fran?ois Burnol sub­mit­ted an up­date to the xint pack­age. Ver­sion num­ber: 1.2f 2016-03-12 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:
Bug fixes - squar­ing macro \xin­tSqr from xint­frac.sty was bro­ken due to a mis­spelled sub-macro name. Dates back to 1.1 re­lease of 2014/10/28 :-((. - 1.2c's fix to the sub­trac­tion bug from 1.2 in­tro­duced an­other bug, which in some cases could cre­ate lead­ing ze­roes in the out­put, or even worse. This could in­val­i­date other rou­tines us­ing sub­trac­tions, like \xin­ti­iSquareRoot. Im­prove­ments and new fea­tures - func­tions bi­no­mial, pfac­to­rial and fac­to­rial in both in­te­ger and float ver­sions. - faster im­ple­men­ta­tion and in­creased ac­cu­racy of float power macros. - faster im­ple­men­ta­tion of both in­te­gral and float square root macros. - the float square root achieves _cor­rect_ (aka _ex­act_) round­ing in ar­bi­trary pre­ci­sion. - mod­i­fied be­haviour for the \xin­tPFloat macro, used by \xint­the­floa­t­expr to pret­tify its out­put. It now opts for dec­i­mal no­ta­tion if and only if sci­en­tific no­ta­tion would use an ex­po­nent be­tween -5 and 5 in­clu­sive. The zero value is printed 0. with a dot. - the doc­u­men­ta­tion of­fers a more pre­cise (and ac­cu­rate) dis­cus­sion of float­ing point is­sues. - var­i­ous un­der-the-hood code im­prove­ments; the floa­t­expr op­er­a­tions are chained in a faster way, from skip­ping some un­needed pars­ing on re­sults of ear­lier com­pu­ta­tions. The ab­sence of a real in­ner data struc­ture for floats (in­cor­po­rat­ing their pre­ci­sions, for one) is how­ever still a bit hair ris­ing: cur­rently the lengths of the man­tis­sas of the operands are com­puted again by each float macro or ex­pres­sion op­er­a­tion. - re­newed des­per­ate ef­forts at im­prov­ing the doc­u­men­ta­tion by ran­dom shuf­fling of sec­tions and well thought ad­di­tions; cuts were con­sid­ered and even per­formed. See CHANGES.{html,pdf} for more.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/generic/xint More in­for­ma­tion is at http://www.ctan.org/pkg/xint We are sup­ported by the TeX User Groups. Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Ina Dau

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