3.83. __nv_erff

Prototype:

float @__nv_erff(float %x) 

Description:

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

Returns:

  • __nv_erff( ± 0 ) returns ± 0 .

  • __nv_erff( ± ) returns ± 1 .

Note:

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

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes