3.20. __nv_cbrtf

Prototype:

float @__nv_cbrtf(float %x) 

Description:

Calculate the cube root of x, x 1 / 3 .

Returns:

Returns x 1 / 3 .
  • __nv_cbrtf( ± 0 ) returns ± 0 .

  • __nv_cbrtf( ± ) returns ± .

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