Definition | #include <math.h> double asin(double x);
These functions are the inverse function of the corresponding | |
Return val. | arc sine(x) | a floating-point number of type |
0 | for values outside of [-1.0, +1.0]. | |
Example | The following program calculates and prints the corresponding arc sine values for 0.0, 0.1,..., 1.0: #include <math.h> #include <stdio.h> int main(void) { double x; for(x = 0.0; x < 1.0; x = x + 0.1) printf("x = %g : asin(%g) = %g\n", x, x, asin(x)); return 0; } | |
See also | sin, cos, acos, tan, atan, atan2 |