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.28; 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.doc.r63400.tar.xz) = ede8f0242576ddfae71de6ec47aedcc2b5cf46c17519796da13d204f7201ba67 SHA512 (poormanlog.doc.r63400.tar.xz) = 7d99c4036411bd892bc0a520a42c5e2a1c1077c89e58e1be8a9fc991b87da3d22871e75669c814358701d17add447a7e6546a33a8ada55f55ce0814296273f91 Size (poormanlog.doc.r63400.tar.xz) = 2092 bytes @