CTAN Comprehensive TeX Archive Network

CTAN update: apnum

Date: January 5, 2016 6:45:44 PM CET
Petr Olšák submitted an update to the apnum package. Version number: 1.5 License type: pd Summary description: Arbitrary precision numbers implemented by TeX macros Announcement text:
New version 1.5 from January 2016 adds the possibility of printing expressions in math mode. Syntax of the expressions is given by apnum. Users can type the expression once and then they can print or evaluate it from shared source. The printed form automatically uses the common math syntax for expressions. For example \SIN{\PI/4}^2 is printed as $\sin^2 {\pi\over4}$ and evaluated as 0.5.
This package is located at http://mirror.ctan.org/macros/generic/apnum More information is at http://www.ctan.org/pkg/apnum We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Ina Dau

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.

MaintainerPetr Olšák



Guest Book Sitemap Contact Contact Author