3.98. __nv_fadd_ru

原型:

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

描述:

计算 xxy在向上舍入(向正无穷大)模式下。

返回值

返回值x + y.

注意

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

此操作永远不会合并为单个乘加指令。

库可用性:

Compute 2.0:是

Compute 3.0:是

Compute 3.5:是