Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: July 2017
 
 

clogl(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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe
Standard

See Also

cexp(3M), complex.h(3HEAD), attributes(5), standards(5)