import mir.math.common: log, approxEqual; import mir.bignum.fp: fp_log; double x = 123456789.0e+123; assert(approxEqual(x.Fp!128.fp_log!double, x.log));
See Implementation