__device__ double asin ( double  x  ) 

Calculate the principal value of the arc sine of the input argument x.

Returns:
Result will be in the interval [-$\pi$/2, +$\pi$/2] for x inside [-1, +1].
  • asin(0) returns +0.
  • asin(x) returns NaN for x outside [-1, +1].
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA