Lines Matching refs:exp
105 int exp;
115 int exp, mant, sign;
117 exp = ((f & 0x7f800000UL) >> 23);
120 /*printf("explode: %08x %x %2x %6x\n", f, sign, exp, mant);*/
123 p->exp = exp - EXP_BIAS;
127 if (p->exp == EXP_ZERO)
139 else if (p->exp == EXP_INF)
155 int exp, mant;
157 exp = p->exp + EXP_BIAS;
159 /*printf("implode: exp %d mant 0x%x\n", exp, mant);*/
163 && exp > 0
167 exp --;
172 exp ++;
174 if (exp < 0)
177 exp = 0;
181 if (exp >= 255)
184 exp = 255;
190 exp &= 0xff;
191 mant |= exp << 23;
232 if (p->exp != -EXP_BIAS)
233 u.ll |= ((unsigned long long)p->exp + 1023ULL) << 52;
241 int exp;
248 exp = u.ll >> 52;
249 exp = (exp & 0x7ff);
251 if (exp == 0)
262 exp = exp - 1023;
263 if ((exp + EXP_BIAS) > 254)
295 if ((exp + EXP_BIAS) < 1)
305 p->exp = exp;
679 if (a.exp >= 31)
685 a.exp -= 23;
687 if (a.exp <= -25)
693 else if (a.exp < 0)
695 frac_bits = a.mant << (32 + a.exp);
696 whole_bits = a.mant >> (-a.exp);
701 whole_bits = a.mant << a.exp;
752 a.exp = 31;
756 a.exp --;
788 a.exp ++;