The OpenD Programming Language

fp_log

template fp_log(T)
T
fp_log
(
uint size
)
(
Fp!size x
)
if (
is(T == float) ||
is(T == double)
||
is(T == real)
)

Members

Functions

fp_log
T fp_log(Fp!size x)

Examples

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));

Meta