CTAN Comprehensive TeX Archive Network

apnum – Arbitrary precision numbers implemented by macros

The basic operations (addition, subtraction, multiplication, division, power to an integer) are implemented by macros in this package. Operands may be numbers with arbitrary numbers of digits; scientific notation is allowed.

The expression scanner is also provided.

As of version 1.4 (December 2015) the calculation of common functions (sqrt, exp, ln, sin, cos, tan, asin, acos, atan, pi) with arbitrary precision in the result has been added.

Exhaustive documentation (including detailed nical documentation) is included. The macro includes many optimizations and uses only primitives (from classic ) and \newcount macro.

LicensesPublic Domain Software
MaintainerPetr Olšák
Contained inTeX Live as apnum
MiKTeX as apnum

Download the contents of this package in one zip archive (737.7k).

Community Comments



Here you can see a respective diagram in newer browsers.


Guest Book Sitemap Contact Contact Author