CLOG10(3) complex math routines CLOG10(3)

clog10, clog10f, clog10l - base-10 logarithm of a complex number

#define _GNU_SOURCE
#include <complex.h>

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.

cabs(3), cexp(3), clog(3), clog2(3), complex(5)

2002-07-28

Different Versions of this Page: