CTAN Comprehensive TeX Archive Network

CTAN up­date: ap­num

Date: Jan­uary 5, 2016 6:45:44 PM CET
Petr Olšák sub­mit­ted an up­date to the ap­num pack­age. Ver­sion num­ber: 1.5 Li­cense type: pd Sum­mary de­scrip­tion: Ar­bi­trary pre­ci­sion num­bers im­ple­mented by TeX macros An­nounce­ment text:
New ver­sion 1.5 from Jan­uary 2016 adds the pos­si­bil­ity of print­ing ex­pres­sions in math mode. Syn­tax of the ex­pres­sions is given by ap­num. Users can type the ex­pres­sion once and then they can print or eval­u­ate it from shared source. The printed form au­to­mat­i­cally uses the com­mon math syn­tax for ex­pres­sions. For ex­am­ple \SIN{\PI/4}^2 is printed as $\sin^2 {\pi\over4}$ and eval­u­ated as 0.5.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/generic/ap­num More in­for­ma­tion is at http://www.ctan.org/pkg/ap­num We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Ina Dau

ap­num – Ar­bi­trary pre­ci­sion num­bers im­ple­mented by macros

The ba­sic op­er­a­tions (ad­di­tion, sub­trac­tion, mul­ti­pli­ca­tion, di­vi­sion, power to an in­te­ger) are im­ple­mented by macros in this pack­age. Operands may be num­bers with ar­bi­trary num­bers of dig­its; sci­en­tific no­ta­tion is al­lowed.

The ex­pres­sion scan­ner is also pro­vided.

As of ver­sion 1.4 (De­cem­ber 2015) the cal­cu­la­tion of com­mon func­tions (sqrt, exp, ln, sin, cos, tan, asin, acos, atan, pi) with ar­bi­trary pre­ci­sion in the re­sult has been added.

Ex­haus­tive doc­u­men­ta­tion (in­clud­ing de­tailed nical doc­u­men­ta­tion) is in­cluded. The macro in­cludes many op­ti­miza­tions and uses only prim­i­tives (from clas­sic ) and \new­count macro.

Pack­ageap­num
Ver­sion1.7
Main­tainerPetr Olšák

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author