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++ 3.0r4 - <b>asin</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
asin

Usage

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

   ANSI


Description

   asin returns the arc sine of x in the range of -p2 <=  asin<= p2. The
   value of x must be between -1<=x<=1.

Example 

   #include <math.h>
   #include <stdio.h>
   #include <stdlib.h>

   int main()
   {
       double x, y;
       x = .94;
       y = asin(x);
       printf("The arc sine of %f is %f\n",x,y);
       return EXIT_SUCCESS;
   }


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 and returns 0. Error
   handling can be modified through the function matherr.

See Also

   atan, atan2, acos


See Also: atan atan2 acos

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