CTAN Comprehensive TeX Archive Network

poormanlog – Logarithms and powers with (almost) 9 digits

This small package (usable with Plain e-, , 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.

Sources/macros/generic/poormanlog
Documentation
Version0.05 2019-04-22
LicensesThe Project Public License 1.3c
Copyright2019 Jean-Fran├žois Burnol
MaintainerJean-Fran├žois Burnol
Contained inTeX Live as poormanlog
MiKTeX as poormanlog
TopicsCalculation

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

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