3.76. __nv_erf

Prototype:

double @__nv_erf(double %x) 

Description:

Calculate the value of the error function for the input argument x, 2 π 0 x e t 2 d t .

Returns:

  • __nv_erf( ± 0 ) returns ± 0 .

  • __nv_erf( ± ) returns ± 1 .

Note:

For accuracy information for this function see the CUDA C Programming Guide, Appendix D.1, Table 7.

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes