Implementation of "Table-driven implementation of the logarithm function in IEEE floating-point arithmetic" by PTP Tang in ACM Transactions on Mathematical Software (TOMS), 1990
https://dl.acm.org/doi/pdf/10.1145/98267.98294
Adapted to work for f128 and bases 2 and 10 by Christophe Delage.
This file contains the code shared between logq, log2q and log10q.
const log_f128 = @This()
const log_f128 = @This()