3.107. __nv_fast_powf

原型:

float @__nv_fast_powf(float %x, float %y) 

描述:

计算x的快速近似值,第一个输入参数,提升到y的幂,第二个输入参数, x y .

返回值

返回 x y .

注意

有关精度信息,请参阅 CUDA C++ 编程指南的数学函数附录中的内在函数部分。

denormal 范围附近的大多数输入和输出值都刷新为符号保留 0.0。

库可用性:

Compute 2.0: 是

Compute 3.0: 是

Compute 3.5: 是