Asin / Asinl Function >> Math.h >> Header File in C

Asin / Asinl :

1. The asin() function returns the arc sine of an argument
2. Argument should be between -1 and 1.
3. Acos return the arc sine of the input value [ in the range -PI/2 to PI/2 ]
4. On error ( if the arguments are not in the range -1 to 1) It returns NAN Or Displays “Invalid domain error

Syntax :

```double asin( double arg );long double asinl(long double (x));
Live Example :
#include<stdio.h>#include<math.h> int main(void) {   double result;   double x = 0.5;   result = asin(x);   printf("Arc sine of %lf : %lfn",x,result);   return 0; }
Output :
Arc sine of 0.500000 : 0.523599

var disqus_config = function () {
this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://programmingtutorials.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
})();

Previous Page

Next Page