poormanlog – Logarithms and powers with (almost) 9 digits
This small package (usable with Plain TeX, LaTeX, or others) provides macros for computing logarithms in base 10 and fractional powers of 10, achieving a bit less than 9 digits of precision.
The package has no dependencies and can be used on its own, but becomes more user-friendly in the presence of the xintexpr package, as it then provides log10() and pow10() functions and optionally patches the ** or ^ power operators to use those. This usage will become obsolete if and when xintexpr will natively implement log10() and pow10() functions in arbitrary precision.
The documentation is included in the README.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||2019 Jean-François Burnol|
|Contained in||TeX Live as poormanlog|
MiKTeX as poormanlog
Download the contents of this package in one zip archive (6.7k).
Maybe you are interested in the following packages as well.
- apnum: Arbitrary precision numbers implemented by TeX macros
- modulus: A non-destructive modulus and integer quotient operator for TeX
- dow: Calculate day of week from a numeric date
- realcalc: Macros for real arithmetic calculations