Section: complex math routines (3)
Return to Main Contents
clog10, clog10f, clog10l - base-10 logarithm of a complex number
double complex clog10(double complex z);
float complex clog10f(float complex z);
long double complex clog10l(long double complex z);
Link with -lm.
The logarithm is defined as log10(cabs(z))+I*carg(z).
Please note that z close to zero will cause an overflow.
The function is a GNU extension.
It is reserved for future use in C99.
- CONFORMING TO
- SEE ALSO
linux.jgfs.net manual pages