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.

Sources/macros/generic/apnum
Documentation
Version1.7
LicensesPublic Domain Software
MaintainerPetr Olšák
Contained inTeX Live as apnum
MiKTeX as apnum
TopicsCalculation

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

Export the package reference as file

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author