Complex exp function, extra code to return a complex number, floating point number or an integer.
arg function for complex numbers.
Complex natural logarithm function.N.B. All real numbers can be expressed as complex numbers and these functions work for real numbers too.