ccos, ccosf, or ccosl Subroutine

Purpose

Computes the complex cosine.

Syntax

#include <complex.h>

double complex ccos (z)
double complex z;

float complex ccosf (z)
float complex z;

long double complex ccosl (z)
long double complex z;

Description

The ccos, ccosf, and ccosl subroutines compute the complex cosine of z.

Parameters

Item Description
z Specifies the value to be computed.

Return Values

The ccos, ccosf, and ccosl subroutines return the complex cosine value.