cacosf, cacos, cacosl
From cppreference.com
| Defined in header <complex.h>
|
||
| (since C99) | ||
| (since C99) | ||
| (since C99) | ||
Computes the complex arc cosine of z with branch cuts outside the interval [−1,+1] along the real axis.
Contents |
[edit] Parameters
| z | - | complex argument |
[edit] Return value
The complex arc cosine of z in the interval [0; π] along the real axis and in the interval (−∞; ∞) along the imaginary axis.
[edit] Example
Run this code
Output:
ccos(1.0+2.0i) ==> 2.032723-3.051898i cacos(2.032723-3.051898i) ==> 1.000000+2.000000i
[edit] See also
| (C99)(C99)(C99) |
computes the complex arc sine (function) |
| (C99)(C99)(C99) |
computes the complex arc tangent (function) |
| (C99)(C99)(C99) |
computes the complex cosine (function) |
| (C99)(C99) |
computes arc cosine (arccos(x)) (function) |
| C++ documentation for acos
| |