# clog2 - Man Page

base-2 logarithm of a complex number

## Library

Math library (*libm*, *-lm*)

## Synopsis

#include <complex.h> double complex clog2(double complexz); float complex clog2f(float complexz); long double complex clog2l(long double complexz);

## Description

The call *clog2(z)* is equivalent to *clog(z)/log(2)*.

The other functions perform the same task for *float* and *long double*.

Note that *z* close to zero will cause an overflow.

## Standards

These function names are reserved for future use in C99.

Not yet in glibc, as at glibc 2.19.

## See Also

## Referenced By

clog(3), clog10(3), complex(7), log2(3).

The man pages clog2f(3) and clog2l(3) are aliases of clog2(3).

2022-12-04 Linux man-pages 6.03