Lines Matching refs:exp
87 uInt comb, exp; /* .. */
129 exp=0; /* low clamp */
133 exp=dn->exponent+DECIMAL128_Bias; /* bias exponent */
134 if (exp>DECIMAL128_Ehigh) { /* top clamp */
135 exp=DECIMAL128_Ehigh;
139 comb=(exp>>9) & 0x18; /* msd=0, exp top 2 bits .. */
146 exp=(uInt)(dn->exponent+DECIMAL128_Bias); /* bias exponent */
147 if (exp>DECIMAL128_Ehigh) { /* fold-down case */
148 pad=exp-DECIMAL128_Ehigh;
149 exp=DECIMAL128_Ehigh; /* [to maximum] */
160 if (msd>=8) comb=0x18 | ((exp>>11) & 0x06) | (msd & 0x01);
161 else comb=((exp>>9) & 0x18) | msd;
164 targhi|=(exp&0xfff)<<14; /* .. and exponent continuation */
198 uInt exp; /* exponent top two bits */
228 exp=COMBEXP[comb]; /* .. */
230 if (exp==3) { /* is a special */
240 dn->exponent=(exp<<12)+((sourhi>>14)&0xfff)-DECIMAL128_Bias; /* unbiased */
285 Int exp; /* exponent top two bits or full */
320 exp=COMBEXP[comb]; /* .. */
322 if (exp==3) {
333 /* otherwise drop through to add integer; set correct exp */
334 exp=0; msd=0; /* setup for following code */
336 else exp=(exp<<12)+((sourhi>>14)&0xfff)-DECIMAL128_Bias; /* unbiased */
378 if (exp==0) { /* integer or NaN case -- easy */
385 pre=c-cstart+exp;
386 /* [here, pre-exp is the digits count (==1 for zero)] */
387 if (exp>0 || pre<-5) { /* need exponential form */