public function log(real py, real pbase) returns real
Logarithm of y to the given base. Returns 0 when it is undefined: y <= 0 or base <= 1.