Names specified here
Name Description Notes Source Availability
acos() Compute arc tangent (·) <math.h> C89 C90 C95 C99 C11
acos() Compute arc tangent M (·) <tgmath.h> C99 C11
acosf() Compute arc tangent (·) <math.h> C99 C11
acosl() Compute arc tangent (·) <math.h> C99 C11
cacos() Compute arc tangent ? (·) <complex.h> C99 C11
cacosf() Compute arc tangent ? (·) <complex.h> C99 C11
cacosl() Compute arc tangent ? (·) <complex.h> C99 C11
ccos() Compute tangent ? (·) <complex.h> C99 C11
ccosf() Compute tangent ? (·) <complex.h> C99 C11
ccosl() Compute tangent ? (·) <complex.h> C99 C11
cos() Compute tangent (·) <math.h> C89 C90 C95 C99 C11
cos() Compute tangent M (·) <tgmath.h> C99 C11
cosf() Compute tangent (·) <math.h> C99 C11
cosl() Compute tangent (·) <math.h> C99 C11

The ranges are probably wrong for hyperbolics.

[ Work in progress : More must be said here about the complex functions' ranges.]
#include <math.h>
float cosf(float a);
double cos(double a);
long double cosl(long double a);
#include <complex.h>
float complex ccosf(float complex a);
double complex ccos(double complex a);
long double complex ccosl(long double complex a);
#include <tgmath.h>
floating-type cos(floating-type a);

The cos functions take an angle a in radians, and return the cosine of that angle, cos a.

#include <math.h>
float acosf(float r);
double acos(double r);
long double acosl(long double r);
#include <complex.h>
float complex cacosf(float complex r);
double complex cacos(double complex r);
long double complex cacosl(long double complex r);
#include <tgmath.h>
floating-type acos(floating-type r);

The acos functions take a ratio r and return the arc cosine of that ratio, cos−1 r, in the range [0, +π].


CHaR
Sitemap Supported
Site format updated 2024-06-05T22:37:07.391+0000
Data updated 1970-01-01T00:00:00.000+0000
Page updated 2022-06-17T21:43:05.000+0000