##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::acos(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex

Defined in header `<complex>` |  |
template< class T > complex<T> acos( const complex<T>& z ); |  | (since C++11)

Computes complex arc cosine of a complex value `z`. Branch cut exists outside the interval [−1 ; +1] along the real axis.

### [edit] Parameters

z | - | complex value

### [edit] Return value

Complex arc cosine of `z` in the range [0 ; ∞) along the real axis and in the range [−iπ ; iπ] along the imaginary axis.

### [edit] See also

asin(std::complex) (C++11) | computes arc sine of a complex number (arcsin(z)) (function template) [edit]
atan(std::complex) (C++11) | computes arc tangent of a complex number (arctan(z)) (function template) [edit]
cos(std::complex) | computes cosine of a complex number (cos(z)) (function template) [edit]
acos | computes arc cosine (arccos(x)) (function) [edit]
acos(std::valarray) | applies the function std::acos to each element of valarray (function template) [edit]
C documentation for cacos

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/complex/acos&oldid=70890"