# <!-- var kmNextPage = "c51_asin517.htm"; var kmPrevPage = "c51_acos517.htm"; var kmNextPageTitle = "asin517"; var kmPrevPageTitle = "acos517"; var kmBreadCrumbs = "<a href=\"default.htm\">Home</a> &raquo; <a href=\"c51_library.htm\">Library Reference</a> &raquo; <a href=\"c51_libref.htm\">Reference</a> &raquo; asin"; kmSetupPaging (); kmNavButtons(); //--> asin

 Summary ```#include float asin ( float x); /* number to calculate arc sine of */ ``` Description The asin function calculates the arc sine of the floating-point number x. Return Value The asin function returns the arc sine of x. For x ∈ [-1, 1], asin(x) → [-π/2, π/2]. For x ∈ (-∞, -1) ∪ (1, ∞), asin(x) → NaN. See Also Example ```#include #include /* for printf */ void tst_asin (void) { float x; float y; for (x = -1.0; x <= 1.0; x += 0.1) { y = asin (x); printf ("ASIN(%f) = %f\n", x, y); } } ```

##### Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.