CTAN
Comprehensive TeX Archive Network

apnum – Arbitrary precision numbers implemented 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.

Sources /macros/generic/apnum
Doc­u­men­ta­tion
Ver­sion 1.6
Li­cense Public Do­main Soft­ware
Main­tainer Petr Olšák
Con­tained in TeX Live as ap­num
MiKTeX as ap­num
Topics per­form cal­cu­la­tions within

Down­load the con­tents of this pack­age in one zip archive (729.4k).

Com­mu­nity Com­ments

Load­ing...

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author