Searched refs:f_mant (Results 1 – 2 of 2) sorted by relevance
124 uint32_t f_mant = f32.i & ((1 << (CL_FLT_MANT_DIG - 1)) - 1); in cl_half_from_float() local138 if (f_mant) in cl_half_from_float()141 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float()153 if (!f_exp && !f_mant) in cl_half_from_float()175 f_mant |= 1 << (CL_FLT_MANT_DIG - 1); in cl_half_from_float()182 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float()190 if ((f_mant & mask) > halfway) in cl_half_from_float()195 else if ((f_mant & mask) == halfway) in cl_half_from_float()206 if ((f_mant & mask) && !sign) in cl_half_from_float()213 if ((f_mant & mask) && sign) in cl_half_from_float()[all …]