CTAN update: poormanlog
The additions/patches to xint originally provided by poormanlog.tex got moved into xint 1.3f itself. Thus, poormanlog now reduces to the sole two macros \PMLogZ and \PMPowTen. It can be imported by other macro files with no danger of conflicting with future releases of xint in case of concurrent usage.
This package is located at http://mirror.ctan.org/macros/generic/poormanlog More information is at https://www.ctan.org/pkg/poormanlog
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
poormanlog – 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.
|Copyright||2019 Jean-François Burnol|