3.46. __nv_double2float_rn

原型:

float @__nv_double2float_rn(double %d) 

描述:

将双精度浮点值x转换为单精度浮点值,采用舍入到最接近的偶数模式。

返回值

返回转换后的值。

库的可用性:

Compute 2.0: 是

Compute 3.0: 是

Compute 3.5: 是