Lines Matching refs:exp
336 int exp, rnd; in encode_comp_t() local
338 exp = rnd = 0; in encode_comp_t()
342 exp++; in encode_comp_t()
350 exp++; in encode_comp_t()
353 if (exp > (((comp_t) ~0U) >> MANTSIZE)) in encode_comp_t()
358 exp <<= MANTSIZE; /* Shift the exponent into place */ in encode_comp_t()
359 exp += value; /* and add on the mantissa. */ in encode_comp_t()
360 return exp; in encode_comp_t()
380 int exp, rnd; in encode_comp2_t() local
382 exp = (value > (MAXFRACT2>>1)); in encode_comp2_t()
387 exp++; in encode_comp2_t()
395 exp++; in encode_comp2_t()
398 if (exp > MAXEXP2) { in encode_comp2_t()
402 return (value & (MAXFRACT2>>1)) | (exp << (MANTSIZE2-1)); in encode_comp2_t()
411 unsigned exp = 190; in encode_float() local
418 exp--; in encode_float()
421 return u | (exp << 23); in encode_float()