math/tex-poormanlog - The NetBSD Packages Collection

Logarithms and powers with (almost) 9 digits

This small package (usable with Plain e-TeX, LaTeX, or others)
with no dependencies provides two fast expandable macros
computing logarithms in base 10 and fractional powers of 10.
They handle arguments of 9 digit tokens which stand for either
1 <= d.dddddddd < 10 (for the log) or 0.xxxxxxxxx (for powers
of 10). They achieve a precision of 1ulp for the logarithm and
2ulp for fractional powers of ten. Extension to other numerical
ranges has to be done by user, via own macros or some math
engine. The xintexpr package (at 1.3f) imports the poormanlog
macros as core constituents of its log10(), pow10(), log(),
exp() and pow() functions.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

print/kpathsea

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.