head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2025.05.14.12.08.27; author markd; state Exp; branches; next ; commitid 7F2v1pPrULFc1SUF; desc @@ 1.1 log @tex-poormanlog{,-doc}: add version 0.07 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. @ text @$NetBSD$ BLAKE2s (poormanlog.r63400.tar.xz) = 1fec838fc66a309b35aa31ca645f5926e84aa736c920eb56f7ea9681c02e3ced SHA512 (poormanlog.r63400.tar.xz) = e67561e7818e8ff9e02a43c02b8b992a26bef477176ce36eebaea37f56ea182bc9bedcfa56ffd8581b5d696698718d87f5319ac93d79032c4c27780ceb964851 Size (poormanlog.r63400.tar.xz) = 3812 bytes @