powers 325 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; powers 358 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; powers 737 src/decNumber/decNumber.c if (a&b&1) *uc=*uc+(Unit)powers[i]; // effect AND powers 1096 src/decNumber/decNumber.c if ((~a)&1) *uc=*uc+(Unit)powers[i]; // effect INVERT powers 1692 src/decNumber/decNumber.c if ((a|b)&1) *uc=*uc+(Unit)powers[i]; // effect OR powers 2358 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; //-V557 // save low digit(s) powers 2361 src/decNumber/decNumber.c uInt rem=save%powers[shift-msudigits];// split save powers 2362 src/decNumber/decNumber.c *msumax=(Unit)(save/powers[shift-msudigits]); // and insert powers 2364 src/decNumber/decNumber.c +(Unit)(rem*powers[DECDPUN-(shift-msudigits)]); // .. powers 2367 src/decNumber/decNumber.c *msumax=*msumax+(Unit)(save*powers[msudigits-shift]); // [maybe *1] powers 2378 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; // save low digit(s) powers 2380 src/decNumber/decNumber.c *msumax=*msumax+(Unit)(save*powers[msudigits]); powers 3075 src/decNumber/decNumber.c if ((a^b)&1) *uc=*uc+(Unit)powers[i]; // effect XOR powers 3723 src/decNumber/decNumber.c partial<(Int)powers[lhs->digits])) { // .. powers 3777 src/decNumber/decNumber.c mult=powers[padding-(rhsshift*DECDPUN)]; // .. this by multiplication powers 4212 src/decNumber/decNumber.c for (pow=&powers[1]; *msu1>=*pow; pow++) exponent--; powers 4213 src/decNumber/decNumber.c for (pow=&powers[1]; *msu2>=*pow; pow++) exponent++; powers 4309 src/decNumber/decNumber.c for (pow=&powers[1]; thisunit>=*pow; pow++) accdigits++; powers 4368 src/decNumber/decNumber.c *powers[drop+1])!=0) break; // found non-0 digit powers 4370 src/decNumber/decNumber.c if (lsu%powers[drop+1]!=0) break; // found non-0 digit powers 4483 src/decNumber/decNumber.c if (*up==powers[quotdigits]-1) allnines=1; powers 4502 src/decNumber/decNumber.c expunits, accnext, -(Int)powers[exprem]); powers 4728 src/decNumber/decNumber.c *lip+=*cup*powers[p]; powers 4733 src/decNumber/decNumber.c *rip+=*cup*powers[p]; powers 5175 src/decNumber/decNumber.c Int n=powers[h]; // always positive powers 5981 src/decNumber/decNumber.c -(Int)powers[exprem]); powers 6309 src/decNumber/decNumber.c if ((*up-quot*powers[cut])!=0) break; // found non-0 digit powers 6311 src/decNumber/decNumber.c if (*up%powers[cut]!=0) break; // found non-0 digit powers 6384 src/decNumber/decNumber.c *uar=(Unit)(*uar*powers[shift]); powers 6401 src/decNumber/decNumber.c uInt rem=*source-quot*powers[cut]; powers 6404 src/decNumber/decNumber.c uInt rem=*source%powers[cut]; powers 6405 src/decNumber/decNumber.c next+=*source/powers[cut]; powers 6408 src/decNumber/decNumber.c next=rem*powers[DECDPUN-cut]; // save remainder for next Unit powers 6458 src/decNumber/decNumber.c quot=*up/powers[cut]; powers 6468 src/decNumber/decNumber.c rem=*up-quot*powers[cut]; powers 6470 src/decNumber/decNumber.c rem=quot%powers[cut]; powers 6471 src/decNumber/decNumber.c quot=quot/powers[cut]; powers 6473 src/decNumber/decNumber.c *target=(Unit)(*target+rem*powers[DECDPUN-cut]); powers 6644 src/decNumber/decNumber.c Unit half=(Unit)powers[DECDPUN]>>1; powers 6674 src/decNumber/decNumber.c rem=*up-quot*powers[cut]; powers 6676 src/decNumber/decNumber.c rem=*up%powers[cut]; powers 6677 src/decNumber/decNumber.c quot=*up/powers[cut]; powers 6714 src/decNumber/decNumber.c rem=*up-quot*powers[cut]; powers 6716 src/decNumber/decNumber.c rem=quot%powers[cut]; powers 6717 src/decNumber/decNumber.c quot=quot/powers[cut]; powers 6719 src/decNumber/decNumber.c *target=(Unit)(*target+rem*powers[DECDPUN-cut]); powers 6851 src/decNumber/decNumber.c if (*up!=powers[count]-1) break; // not still 9s powers 6853 src/decNumber/decNumber.c *up=(Unit)powers[count-1]; // here 999 -> 100 etc. powers 6875 src/decNumber/decNumber.c if (*up!=powers[count-1]) break; // not 100.. powers 6878 src/decNumber/decNumber.c *up=(Unit)powers[count]-1; // here 100 in msu -> 999 powers 6880 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=(Unit)powers[DECDPUN]-1; powers 6889 src/decNumber/decNumber.c *sup=(Unit)powers[count-1]-1; // here 999.. in msu -> 99.. powers 7088 src/decNumber/decNumber.c *up=(Unit)(powers[count]-1); powers 7258 src/decNumber/decNumber.c rem=*up-theInt*powers[count]; powers 7260 src/decNumber/decNumber.c rem=*up%powers[count]; // slice off discards powers 7261 src/decNumber/decNumber.c theInt=*up/powers[count]; powers 7278 src/decNumber/decNumber.c theInt+=*up*powers[got]; powers 7282 src/decNumber/decNumber.c if (theInt/(Int)powers[got-DECDPUN]!=(Int)*(up-1)) ilength=11; powers 7321 src/decNumber/decNumber.c if (cut!=DECDPUN) *msu%=powers[cut]; // clear left digits powers 7467 src/decNumber/decNumber.c for (pow=&powers[4]; *up>=*pow; pow++) digits++;