CTAN 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 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.3c 2018-06-17
Copy­right2013–2018 Jean-Fran├žois Burnol
Main­tainerJean-Fran├žois Burnol



Guest Book Sitemap Contact Contact Author