fn log(comptime T: type, base: T, x: T) T

Returns the logarithm of x for the provided base.

Parameters

T: type,
base: T,
x: T,