ccos

Section: C Library Functions (3)
Updated: 2022-12-15
Index Return to Main Contents
 

NAME

ccos, ccosf, ccosl - complex cosine function  

LIBRARY

Math library (libm, -lm)  

SYNOPSIS

#include <complex.h>

double complex ccos(double complex z);
float complex ccosf(float complex z);
long double complex ccosl(long double complex z);
 

DESCRIPTION

These functions calculate the complex cosine of z.

The complex cosine function is defined as:

ccos(z) = (exp(i * z) + exp(-i * z)) / 2  

VERSIONS

These functions were added in glibc 2.1.  

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).
InterfaceAttributeValue
ccos(), ccosf(), ccosl() Thread safetyMT-Safe

 

STANDARDS

C99, POSIX.1-2001, POSIX.1-2008.  

SEE ALSO

cabs(3), cacos(3), csin(3), ctan(3), complex(7)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
VERSIONS
ATTRIBUTES
STANDARDS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 09:39:55 GMT, April 26, 2024