Lines Matching refs:exp

90   uInt comb, exp;		   /* .. */  in decimal128FromNumber()  local
131 exp=0; /* low clamp */ in decimal128FromNumber()
135 exp=dn->exponent+DECIMAL128_Bias; /* bias exponent */ in decimal128FromNumber()
136 if (exp>DECIMAL128_Ehigh) { /* top clamp */ in decimal128FromNumber()
137 exp=DECIMAL128_Ehigh; in decimal128FromNumber()
141 comb=(exp>>9) & 0x18; /* msd=0, exp top 2 bits .. */ in decimal128FromNumber()
148 exp=(uInt)(dn->exponent+DECIMAL128_Bias); /* bias exponent */ in decimal128FromNumber()
149 if (exp>DECIMAL128_Ehigh) { /* fold-down case */ in decimal128FromNumber()
150 pad=exp-DECIMAL128_Ehigh; in decimal128FromNumber()
151 exp=DECIMAL128_Ehigh; /* [to maximum] */ in decimal128FromNumber()
162 if (msd>=8) comb=0x18 | ((exp>>11) & 0x06) | (msd & 0x01); in decimal128FromNumber()
163 else comb=((exp>>9) & 0x18) | msd; in decimal128FromNumber()
166 targhi|=(exp&0xfff)<<14; /* .. and exponent continuation */ in decimal128FromNumber()
199 uInt exp; /* exponent top two bits */ in decimal128ToNumber() local
230 exp=COMBEXP[comb]; /* .. */ in decimal128ToNumber()
232 if (exp==3) { /* is a special */ in decimal128ToNumber()
242 dn->exponent=(exp<<12)+((sourhi>>14)&0xfff)-DECIMAL128_Bias; /* unbiased */ in decimal128ToNumber()
287 Int exp; /* exponent top two bits or full */ in decimal128ToString() local
323 exp=COMBEXP[comb]; /* .. */ in decimal128ToString()
325 if (exp==3) { in decimal128ToString()
337 exp=0; msd=0; /* setup for following code */ in decimal128ToString()
339 else exp=(exp<<12)+((sourhi>>14)&0xfff)-DECIMAL128_Bias; /* unbiased */ in decimal128ToString()
381 if (exp==0) { /* integer or NaN case -- easy */ in decimal128ToString()
388 pre=c-cstart+exp; in decimal128ToString()
390 if (exp>0 || pre<-5) { /* need exponential form */ in decimal128ToString()