Lines Matching refs:exp

90   uInt comb, exp;		   /* .. */  in decimal32FromNumber()  local
127 exp=0; /* low clamp */ in decimal32FromNumber()
131 exp=dn->exponent+DECIMAL32_Bias; /* bias exponent */ in decimal32FromNumber()
132 if (exp>DECIMAL32_Ehigh) { /* top clamp */ in decimal32FromNumber()
133 exp=DECIMAL32_Ehigh; in decimal32FromNumber()
137 comb=(exp>>3) & 0x18; /* msd=0, exp top 2 bits .. */ in decimal32FromNumber()
144 exp=(uInt)(dn->exponent+DECIMAL32_Bias); /* bias exponent */ in decimal32FromNumber()
145 if (exp>DECIMAL32_Ehigh) { /* fold-down case */ in decimal32FromNumber()
146 pad=exp-DECIMAL32_Ehigh; in decimal32FromNumber()
147 exp=DECIMAL32_Ehigh; /* [to maximum] */ in decimal32FromNumber()
165 if (msd>=8) comb=0x18 | ((exp>>5) & 0x06) | (msd & 0x01); in decimal32FromNumber()
166 else comb=((exp>>3) & 0x18) | msd; in decimal32FromNumber()
169 targ|=(exp&0x3f)<<20; /* .. and exponent continuation */ in decimal32FromNumber()
191 uInt exp; /* exponent top two bits */ in decimal32ToNumber() local
206 exp=COMBEXP[comb]; /* .. */ in decimal32ToNumber()
208 if (exp==3) { /* is a special */ in decimal32ToNumber()
218 dn->exponent=(exp<<6)+((sour>>20)&0x3f)-DECIMAL32_Bias; /* unbiased */ in decimal32ToNumber()
260 Int exp; /* exponent top two bits or full */ in decimal32ToString() local
280 exp=COMBEXP[comb]; /* .. */ in decimal32ToString()
282 if (exp==3) { in decimal32ToString()
293 exp=0; msd=0; /* setup for following code */ in decimal32ToString()
295 else exp=(exp<<6)+((sour>>20)&0x3f)-DECIMAL32_Bias; /* unbiased */ in decimal32ToString()
320 if (exp==0) { /* integer or NaN case -- easy */ in decimal32ToString()
327 pre=c-cstart+exp; in decimal32ToString()
329 if (exp>0 || pre<-5) { /* need exponential form */ in decimal32ToString()