This function is compatible with the following targets:
|
|
#include <math.h>
double asin(double x);
float asinf(float);
long double asinl(long double);Parameters:
Parameters for this function are:
This function computes the arc values of sine.
The function asin() may set errno to EDOM if the argument is not in the range of -1 to +1. See "Floating point error testing.," for information on newer error testing procedures.
See "Example of acos(), asin(), atan(), atan2() usage." for example usage.
Return:
The function asin() returns the arcsine of x in radians. If the argument to asin() is not in the range of -1 to +1, the global variable errno may be set to EDOM and returns 0. See "Floating point error testing.," for information on newer error testing procedures.