1ASIN(3)                    Linux Programmer's Manual                   ASIN(3)
2
3
4

NAME

6       asin, asinf, asinl - arc sine function
7

SYNOPSIS

9       #include <math.h>
10
11       double asin(double x);
12       float asinf(float x);
13       long double asinl(long double x);
14
15       Link with -lm.
16

DESCRIPTION

18       The  asin()  function  calculates  the arc sine of x; that is the value
19       whose sine is x.  If x falls outside the range -1 to  1,  asin()  fails
20       and errno is set.
21

RETURN VALUE

23       The  asin()  function  returns the arc sine in radians and the value is
24       mathematically defined to be between -PI/2 and PI/2 (inclusive).
25

ERRORS

27       EDOM   x is out of range.
28

CONFORMING TO

30       SVr4, POSIX.1-2001, 4.3BSD, C89, C99.  The float and long double  vari‐
31       ants are C99 requirements.
32

SEE ALSO

34       acos(3), casin(3), atan(3), atan2(3), cos(3), sin(3), tan(3)
35
36
37
38                                  2002-07-25                           ASIN(3)
Impressum