log10 function
Return the base-10 logarithm of complex.
This has the same branch cut as log.
Implementation
Complex<num, num> log10(Complex complex) {
var base = math.log(10);
var r = math.log((abs(complex))) / base;
var i = phase(complex) / base;
return Complex<num, num>(r, i);
}