asin

Computes the principal value of the arc sine of the specified argument.

Library:LibC
Classification:ANSI
Service:Math

Syntax

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

Parameters

x

(IN) Specifies an argument whose arc sine is to be computed.

Return Values

Returns the arc sine in the range (-pi/2, pi/2). When the argument is outside the permissible range, errno is set and matherr is called.

Remarks

A domain error occurs for arguments not in the range (-1,1).

See Also