Names specified here
Name Description Notes Source Availability
atan() Compute arc tangent M (·) <tgmath.h> C99 C11
atan() Compute arc tangent (·) <math.h> C89 C90 C95 C99 C11
atanf() Compute arc tangent (·) <math.h> C99 C11
atanl() Compute arc tangent (·) <math.h> C99 C11
catan() Compute arc tangent ? (·) <complex.h> C99 C11
catanf() Compute arc tangent ? (·) <complex.h> C99 C11
catanl() Compute arc tangent ? (·) <complex.h> C99 C11
ctan() Compute tangent ? (·) <complex.h> C99 C11
ctanf() Compute tangent ? (·) <complex.h> C99 C11
ctanl() Compute tangent ? (·) <complex.h> C99 C11
tan() Compute tangent M (·) <tgmath.h> C99 C11
tan() Compute tangent (·) <math.h> C89 C90 C95 C99 C11
tanf() Compute tangent (·) <math.h> C99 C11
tanl() 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 tanf(float a);
double tan(double a);
long double tanl(long double a);
#include <complex.h>
float complex ctanf(float complex a);
double complex ctan(double complex a);
long double complex ctanl(long double complex a);
#include <tgmath.h>
floating-type tan(floating-type a);

The tan functions take an angle a in radians, and return the tangent of that angle, tan a.

#include <math.h>
float atanf(float r);
double atan(double r);
long double atanl(long double r);
#include <complex.h>
float complex catanf(float complex r);
double complex catan(double complex r);
long double complex catanl(long double complex r);
#include <tgmath.h>
floating-type atan(floating-type r);

The atan functions take a ratio r and return the arc tangent of that ratio, tan−1 r, in the range [−½π, +½π].


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