clog10 Function (ROM Call 0x148)

math.h, timath.h

void clog10 (float z_re, float z_im, float *w_re, float *w_im);

Complex logarithm, base 10.

clog10 calculates the base 10 logarithm w = log10(z) of the complex number which real and imaginary parts are z_re and z_im, and stores real and imaginary part of the result in floating point destinations pointed to by w_re and w_im. The base 10 complex logarithm is defined by

log10(z) = ln(z) / ln(10)

where ln is complex natural logarithm (see cln).


Uses: cln, _bcd_math