Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_half.h123 uint32_t f_exp = (f32.i >> (CL_FLT_MANT_DIG - 1)) & 0xFF; in cl_half_from_float() local
127 int32_t exp = f_exp - CL_FLT_MAX_EXP + 1; in cl_half_from_float()
136 if (f_exp == 0xFF) in cl_half_from_float()
153 if (!f_exp && !f_mant) in cl_half_from_float()
381 uint32_t f_exp = exp + CL_FLT_MAX_EXP - 1; in cl_half_to_float() local
408 f_exp = 0; in cl_half_to_float()
422 f_exp -= shift - 1; in cl_half_to_float()
426 f32.i = (sign << 31) | (f_exp << 23) | (h_mant << 13); in cl_half_to_float()
/third_party/opencl-headers/CL/
Dcl_half.h123 uint32_t f_exp = (f32.i >> (CL_FLT_MANT_DIG - 1)) & 0xFF; in cl_half_from_float() local
127 int32_t exp = f_exp - CL_FLT_MAX_EXP + 1; in cl_half_from_float()
136 if (f_exp == 0xFF) in cl_half_from_float()
153 if (!f_exp && !f_mant) in cl_half_from_float()
381 uint32_t f_exp = exp + CL_FLT_MAX_EXP - 1; in cl_half_to_float() local
408 f_exp = 0; in cl_half_to_float()
422 f_exp -= shift - 1; in cl_half_to_float()
426 f32.i = (sign << 31) | (f_exp << 23) | (h_mant << 13); in cl_half_to_float()