method

log

v1_9_3_125 - Show latest stable - Class: CMath
log(*args)
public

Returns the natural logarithm of Complex. If a second argument is given, it will be the base of logarithm.

log(Complex(0,0)) #=> -Infinity+0.0i