__device__ double erf ( double  x  ) 

Calculate the value of the error function for the input argument x, $\frac{2}{\sqrt \pi} \int_0^x e^{-t^2} dt$.

Returns:
  • erf($\pm 0$) returns $\pm 0$.
  • erf($\pm \infty$) returns $\pm 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