asin()

Computes the arc value of sine.

  #include <math.h>
  
  double asin(double x);
  
  float asinf(float x);
  
  long double asinl(long double x);    
Parameter

x

A floating-point value, in the range of -1.0 to 1.0.

Remarks

These functions return the arcsine of the argument x, in radians from -pi /2 to pi / 2. If x is not in the range of -1.0 to 1.0 then these functions set errno to EDOM and

  fpclassify(asin(x)) 
  

returns FP_NAN.

This facility may not be available on configurations of the EWL that run on platforms that do not have floating-point math capabilities.