BSD Ports

math/tex-poormanlog 0.07 NetBSD

Logarithms and powers with (almost) 9 digits

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
lppl-1.3c
Categories
print
Package size
6.7 KiB, 10.2 KiB installed

Description

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.

Install

Binary package:

pkgin install tex-poormanlog

From pkgsrc:

cd /usr/pkgsrc/math/tex-poormanlog && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.07
NetBSD 10.1 aarch640.07
SmartOS / illumos x86_640.07
macOS 15 arm640.07

Dependencies

Run dependencies 1