__device__ float erff ( float  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:
  • erff($\pm 0$) returns $\pm 0$.
  • erff($\pm \infty$) returns $\pm 1$.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA