cacos, cacosf, or cacosl Subroutine

Purpose

Computes the complex arc cosine.

Syntax

#include <complex.h>

double complex cacos (z)
double complex z;

float complex cacosf (z)
float complex z;

long double complex cacosl (z)
long double complex z;

Description

The cacos, cacosf, or cacosl subroutine computes the complex arc cosine of z, with branch cuts outside the interval [–1, +1] along the real axis.

Parameters

Item Description
z Specifies the value to be computed.

Return Values

The cacos, cacosf, or cacosl subroutine returns the complex arc cosine value, in the range of a strip mathematically unbounded along the imaginary axis and in the interval [0, pi] along the real axis.