[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

clog, clogf, or clogl Subroutine

Purpose

Computes the complex natural logarithm.

Syntax

#include <complex.h>

double complex clog (z)
double complex z;

float complex clogf (z)
float complex z;

long double complex clogl (z)
long double complex z;

Description

The clog, clogf, and clogl subroutines compute the complex natural (base e) logarithm of z, with a branch cut along the negative real axis.

Parameters

z Specifies the value to be computed.

Return Values

The clog, clogf, and clogl subroutines return the complex natural logarithm value, in the range of a strip mathematically unbounded along the real axis and in the interval [-i pi, +i pi] along the imaginary axis.

Related Information

cexp, cexpf, or cexpl Subroutine

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]