clog2

Autres langues

Langue: en

Version: 2002-07-28 (CentOS - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

#include <complex.h>

double complex clog2(double complex z);
float complex clog2f(float complex z);
long double complex clog2l(long double complex z);

Link with -lm.

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

These function names are reserved for future use in C99.

AVAILABILITY

Not yet in glibc, as at version 2.4.

SEE ALSO

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