clogf, clog, clogl
From cppreference.com
Defined in header
<complex.h>
|
||
(since C99) | ||
(since C99) | ||
(since C99) | ||
Computes the complex natural (base-e) logarithm of z
with branch cut along the negative real axis.
Contents |
[edit] Parameters
z | - | complex argument |
[edit] Return value
The complex natural logarithm of z
in the interval (−∞; +∞) along the real axis and in the interval (−iπ; +iπ) along the imaginary axis.
[edit] Example
Run this code
Output:
0.804719+1.107149i
[edit] See also
(C99)(C99)(C99)
|
computes the complex base-e exponential (function) |
(C99)(C99)
|
computes natural (base-e) logarithm (ln(x)) (function) |
C++ documentation for log
|