clog2, clog2f, clog2l - base-2 logarithm of a complex number
Contents
Description
The call clog2(z) is equivalent to clog(z)/log(2).
The other functions perform the same task for float and longdouble.
Note that z close to zero will cause an overflow.
History
These function names are reserved for future use in C99.
Not yet in glibc, as at glibc 2.19.
Library
Math library (libm, -lm)
Name
clog2, clog2f, clog2l - base-2 logarithm of a complex number
See Also
cabs(3), cexp(3), clog(3), clog10(3), complex(7) Linux man-pages 6.9.1 2024-05-02 clog2(3)
Standards
None.
Synopsis
#include<complex.h>doublecomplexclog2(doublecomplexz);floatcomplexclog2f(floatcomplexz);longdoublecomplexclog2l(longdoublecomplexz);