__device__ unsigned short __float2half_rn ( float  x  ) 

Convert the single-precision float value x to a half-precision floating point value represented in unsigned short format, in round-to-nearest-even mode.

Returns:
Returns converted value.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA