Searched refs:h_mant (Results 1 – 2 of 2) sorted by relevance
141 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos); in cl_half_from_float() local142 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() local193 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 …]