Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - asin http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   asin

   Usage
   #include <math.h>
   double asin(double x);

   Description
   asin  returns the arc sine of x in the range of  -pi/2<=asin<=pi/2.
   The value of x must be between -1<=x<=1.

   Example
   #include <math.h>
   #include <stdio.h>
   main()
   {
   double x, y;
        x = .94;
        y = asin(x);
        printf("The arc sine of %f is %f\n",x,y);
   }

   Return Value
   asin  returns  the arc sine of the input value. If the value  is  less
   than  -1 or greater than 1, asin sets errno to EDOM, prints  a  DOMAIN
   error message to stderr and returns 0. Error handling can be  modified
   through the function matherr.


See Also: atan atan2 acos

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson