clog2(3) — Linux manual page


CLOG2(3)                Linux Programmer's Manual               CLOG2(3)

NAME         top

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

SYNOPSIS         top

       #include <complex.h>

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

DESCRIPTION         top

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

       The other functions perform the same task for float and long

       Note that z close to zero will cause an overflow.

CONFORMING TO         top

       These function names are reserved for future use in C99.

       Not yet in glibc, as at version 2.19.

SEE ALSO         top

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

COLOPHON         top

       This page is part of release 5.13 of the Linux man-pages project.
       A description of the project, information about reporting bugs,
       and the latest version of this page, can be found at

                               2021-03-22                       CLOG2(3)

Pages that refer to this page: clog10(3)clog(3)log2(3)complex(7)