clog2(3) -- Linux man page

 

NAME

clog2, clog2f, clog2l - base-2 logarithm of a complex number  

SYNOPSIS

#include <complex.h>

double complex clog2(double complexz);

float complex clog2f(float complex z);

long double complex clog2l(long double complexz);

 

DESCRIPTION

The logarithm is defined as log2(cabs(z))+I*carg(z). Please note that z close to zero will cause an overflow.  

CONFORMING TO

C99  

SEE ALSO

cabs(3), cexp(3), clog(3), clog10(3)