Lines Matching refs:exp

96   uInt comb, exp;		   /* .. */  in decimal64FromNumber()  local
135 exp=0; /* low clamp */ in decimal64FromNumber()
139 exp=dn->exponent+DECIMAL64_Bias; /* bias exponent */ in decimal64FromNumber()
140 if (exp>DECIMAL64_Ehigh) { /* top clamp */ in decimal64FromNumber()
141 exp=DECIMAL64_Ehigh; in decimal64FromNumber()
145 comb=(exp>>5) & 0x18; /* msd=0, exp top 2 bits .. */ in decimal64FromNumber()
152 exp=(uInt)(dn->exponent+DECIMAL64_Bias); /* bias exponent */ in decimal64FromNumber()
153 if (exp>DECIMAL64_Ehigh) { /* fold-down case */ in decimal64FromNumber()
154 pad=exp-DECIMAL64_Ehigh; in decimal64FromNumber()
155 exp=DECIMAL64_Ehigh; /* [to maximum] */ in decimal64FromNumber()
183 if (msd>=8) comb=0x18 | ((exp>>7) & 0x06) | (msd & 0x01); in decimal64FromNumber()
184 else comb=((exp>>5) & 0x18) | msd; in decimal64FromNumber()
187 targhi|=(exp&0xff)<<18; /* .. and exponent continuation */ in decimal64FromNumber()
216 uInt exp; /* exponent top two bits */ in decimal64ToNumber() local
241 exp=COMBEXP[comb]; /* .. */ in decimal64ToNumber()
243 if (exp==3) { /* is a special */ in decimal64ToNumber()
253 dn->exponent=(exp<<8)+((sourhi>>18)&0xff)-DECIMAL64_Bias; /* unbiased */ in decimal64ToNumber()
303 Int exp; /* exponent top two bits or full */ in decimal64ToString() local
333 exp=COMBEXP[comb]; /* .. */ in decimal64ToString()
335 if (exp==3) { in decimal64ToString()
346 exp=0; msd=0; /* setup for following code */ in decimal64ToString()
348 else exp=(exp<<8)+((sourhi>>18)&0xff)-DECIMAL64_Bias; in decimal64ToString()
379 if (exp==0) { /* integer or NaN case -- easy */ in decimal64ToString()
386 pre=c-cstart+exp; in decimal64ToString()
388 if (exp>0 || pre<-5) { /* need exponential form */ in decimal64ToString()