clog(3M)clog(3M)NAMEclog(), clogf(), clogl(), clogw(), clogq() - complex natural (base-e)
logarithm functions
SYNOPSISDESCRIPTION
returns the complex natural logarithm of z in the range of a strip
mathematically unbounded along the real axis and in the interval
[-iPi,+iPi] along the imaginary axis. There is a branch cut along the
negative real axis.
is a version of it takes a argument and returns a result.
is a version of it takes a argument and returns a result.
is an version of it takes an argument and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use these functions, compile with the default option. To use com‐
pile with the option. Make sure your program includes Link in the math
library by specifying on the compiler or linker command line.
RETURN VALUE
=
returns -Inf+iPi and raises the divide-by-zero floating-point excep‐
tion.
returns -Inf+i0 and raises the divide-by-zero floating-point exception.
returns +Inf+iPi/2, for finite x.
returns NaN+iNaN and optionally raises the invalid floating-point
exception, for finite x.
returns +Inf+iPi, for finite positive-signed y.
returns +Inf+i0, for finite positive-signed y.
returns +Inf+i3Pi/4.
returns +Inf+iPi/4.
returns +Inf+iNaN.
returns NaN+iNaN and optionally raises the invalid floating-point
exception, for finite y.
returns +Inf+iNaN.
returns NaN+iNaN.
ERRORS
No errors are defined.
SEE ALSOlog(3M), cexp(3M), complex(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex G, "IEC 60559-compatible complex arith‐
metic")
HP Integrity Server Only clog(3M)