Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Availability
system/library/math
MT-Level
MT-Safe
Standard

See Also

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