Home
last modified time | relevance | path

Searched refs:h_mant (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_half.h141 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float() local
142 h_mant |= 0x200; in cl_half_from_float()
143 return (sign << 15) | CL_HALF_EXP_MASK | h_mant; in cl_half_from_float()
182 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float() local
193 h_mant += 1; in cl_half_from_float()
198 if (h_mant & 0x1) in cl_half_from_float()
199 h_mant += 1; in cl_half_from_float()
209 h_mant += 1; in cl_half_from_float()
216 h_mant += 1; in cl_half_from_float()
222 if (h_mant & 0x400) in cl_half_from_float()
[all …]
/third_party/opencl-headers/CL/
Dcl_half.h141 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float() local
142 h_mant |= 0x200; in cl_half_from_float()
143 return (sign << 15) | CL_HALF_EXP_MASK | h_mant; in cl_half_from_float()
182 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float() local
193 h_mant += 1; in cl_half_from_float()
198 if (h_mant & 0x1) in cl_half_from_float()
199 h_mant += 1; in cl_half_from_float()
209 h_mant += 1; in cl_half_from_float()
216 h_mant += 1; in cl_half_from_float()
222 if (h_mant & 0x400) in cl_half_from_float()
[all …]