CLOG(3M) Mathematical Library Functions CLOG(3M)
clog, clogf, clogl - complex natural logarithm functions
c99 [ flag... ] file... -lm [ library... ]
#include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
These functions compute the complex natural (base e) logarithm of z,
with a branch cut along the negative real axis.
These functions return the complex natural logarithm value, in the
range of a strip mathematically unbounded along the real axis and in
the interval [ -i , +i ] along the imaginary axis.
No errors are defined.
See attributes(7) for descriptions of the following attributes:
+----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------------+-----------------------------+
|Interface Stability | Standard |
+----------------------------+-----------------------------+
|MT-Level | MT-Safe |
+----------------------------+-----------------------------+
complex.h(3HEAD), cexp(3M), attributes(7), standards(7)
SunOS 5.11 July 12, 2006 CLOG(3M)
NAME
clog, clogf, clogl - complex natural logarithm functions
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
DESCRIPTION
These functions compute the complex natural (base e) logarithm of z,
with a branch cut along the negative real axis.
RETURN VALUES
These functions return the complex natural logarithm value, in the
range of a strip mathematically unbounded along the real axis and in
the interval [ -i , +i ] along the imaginary axis.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------------+-----------------------------+
|Interface Stability | Standard |
+----------------------------+-----------------------------+
|MT-Level | MT-Safe |
+----------------------------+-----------------------------+
SEE ALSO
complex.h(3HEAD), cexp(3M), attributes(7), standards(7)
SunOS 5.11 July 12, 2006 CLOG(3M)