3.97. __nv_fadd_rn
原型:
float @__nv_fadd_rn(float %x, float %y)
描述:
计算x和y的和,采用就近舍入到偶数的舍入模式。
返回值
返回值x + y.
注意
有关精度信息,请参阅 CUDA C++ 编程指南的数学函数附录中的单精度浮点函数部分。
此操作永远不会合并到单个乘加指令中。
库可用性:
Compute 2.0:是
Compute 3.0:是
Compute 3.5:是