Node:Inverse Trig Functions, Next:Exponents and Logarithms, Previous:Trig Functions, Up:Mathematics
These are the usual arc sine, arc cosine and arc tangent functions, which are the inverses of the sine, cosine and tangent functions respectively.
| double asin (double x) | Function | 
| float asinf (float x) | Function | 
| long double asinl (long double x) | Function | 
| These functions compute the arc sine of x--that is, the value whose
sine is x.  The value is in units of radians.  Mathematically,
there are infinitely many such values; the one actually returned is the
one between -pi/2andpi/2(inclusive).The arc sine function is defined mathematically only
over the domain  | 
| double acos (double x) | Function | 
| float acosf (float x) | Function | 
| long double acosl (long double x) | Function | 
| These functions compute the arc cosine of x--that is, the value
whose cosine is x.  The value is in units of radians. 
Mathematically, there are infinitely many such values; the one actually
returned is the one between 0andpi(inclusive).The arc cosine function is defined mathematically only
over the domain  | 
| double atan (double x) | Function | 
| float atanf (float x) | Function | 
| long double atanl (long double x) | Function | 
| These functions compute the arc tangent of x--that is, the value
whose tangent is x.  The value is in units of radians. 
Mathematically, there are infinitely many such values; the one actually
returned is the one between -pi/2andpi/2(inclusive). | 
| double atan2 (double y, double x) | Function | 
| float atan2f (float y, float x) | Function | 
| long double atan2l (long double y, long double x) | Function | 
| This function computes the arc tangent of y/x, but the signs
of both arguments are used to determine the quadrant of the result, and
x is permitted to be zero.  The return value is given in radians
and is in the range -pitopi, inclusive.If x and y are coordinates of a point in the plane,
 If both x and y are zero,  | 
ISO C99 defines complex versions of the inverse trig functions.
| complex double casin (complex double z) | Function | 
| complex float casinf (complex float z) | Function | 
| complex long double casinl (complex long double z) | Function | 
| These functions compute the complex arc sine of z--that is, the
value whose sine is z.  The value returned is in radians. Unlike the real-valued functions,  | 
| complex double cacos (complex double z) | Function | 
| complex float cacosf (complex float z) | Function | 
| complex long double cacosl (complex long double z) | Function | 
| These functions compute the complex arc cosine of z--that is, the
value whose cosine is z.  The value returned is in radians. Unlike the real-valued functions,  | 
| complex double catan (complex double z) | Function | 
| complex float catanf (complex float z) | Function | 
| complex long double catanl (complex long double z) | Function | 
| These functions compute the complex arc tangent of z--that is, the value whose tangent is z. The value is in units of radians. |