Lines Matching defs:h_mant
141 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos);
142 h_mant |= 0x200;
143 return (sign << 15) | CL_HALF_EXP_MASK | h_mant;
182 uint16_t h_mant = (uint16_t)(f_mant >> lsb_pos);
193 h_mant += 1;
198 if (h_mant & 0x1)
199 h_mant += 1;
209 h_mant += 1;
216 h_mant += 1;
222 if (h_mant & 0x400)
225 h_mant = 0;
228 return (sign << 15) | (h_exp << 10) | h_mant;
267 uint16_t h_mant = (uint16_t)(d_mant >> lsb_pos);
268 h_mant |= 0x200;
269 return (sign << 15) | CL_HALF_EXP_MASK | h_mant;
308 uint16_t h_mant = (uint16_t)(d_mant >> lsb_pos);
319 h_mant += 1;
324 if (h_mant & 0x1)
325 h_mant += 1;
335 h_mant += 1;
342 h_mant += 1;
348 if (h_mant & 0x400)
351 h_mant = 0;
354 return (sign << 15) | (h_exp << 10) | h_mant;
375 uint16_t h_mant = h & 0x3FF;
386 if (h_mant)
389 uint32_t f_mant = h_mant << (CL_FLT_MANT_DIG - CL_HALF_MANT_DIG);
405 if (h_mant == 0)
416 while ((h_mant & 0x400) == 0)
418 h_mant <<= 1;
421 h_mant &= 0x3FF;
426 f32.i = (sign << 31) | (f_exp << 23) | (h_mant << 13);