HP 3000 Manuals

asin [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Library Reference Manual

asin 

Returns the arc sine of the input value in radians.

Syntax 

     #include <math.h>
     double asin (double x);

Parameters 

x             A real number.

Return Values 

n             The arc sine of x.

0             The magnitude of the argument of asin is greater than one
              or less than negative one.  errno is set to EDOM.

Description 

The asin function returns the arc sine of x, in the range of -pi/2 to
pi/2.

A DOMAIN error is printed on the standard error output if x is greater
than one or less than negative one.

Error-handling can be changed by a user-written matherr function.

See Also 

matherr(), ANSI C 4.5.2.2, POSIX.1 8.1



MPE/iX 5.0 Documentation