lsu 292 src/decNumber/decNumber.c for (up=dn->lsu; uin>0; up++) { lsu 296 src/decNumber/decNumber.c dn->digits=decGetDigits(dn->lsu, up-dn->lsu); lsu 317 src/decNumber/decNumber.c up=dn->lsu; // -> lsu lsu 350 src/decNumber/decNumber.c up=dn->lsu; // -> lsu lsu 569 src/decNumber/decNumber.c if (d<=set->digits) res=dn->lsu; // fits into supplied decNumber lsu 718 src/decNumber/decNumber.c ua=lhs->lsu; // bottom-up lsu 719 src/decNumber/decNumber.c ub=rhs->lsu; // .. lsu 720 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 751 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 1082 src/decNumber/decNumber.c ua=rhs->lsu; // bottom-up lsu 1083 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 1107 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 1316 src/decNumber/decNumber.c if (!(copystat&DEC_Inexact) && w->lsu[0]==1) { lsu 1370 src/decNumber/decNumber.c w->lsu[1]=1; w->lsu[0]=0; // .. lsu 1372 src/decNumber/decNumber.c w->lsu[0]=10; // .. lsu 1532 src/decNumber/decNumber.c dtiny.lsu[0]=1; lsu 1574 src/decNumber/decNumber.c dtiny.lsu[0]=1; lsu 1633 src/decNumber/decNumber.c dtiny.lsu[0]=1; // make number that is .. lsu 1674 src/decNumber/decNumber.c ua=lhs->lsu; // bottom-up lsu 1675 src/decNumber/decNumber.c ub=rhs->lsu; // .. lsu 1676 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 1706 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 1845 src/decNumber/decNumber.c dnOne.lsu[0]=1; lsu 1851 src/decNumber/decNumber.c else if (dac->lsu[0]==0) { // lhs=1 lsu 1854 src/decNumber/decNumber.c *res->lsu=1; // was 0, make int 1 lsu 1855 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, 1, shift); lsu 1883 src/decNumber/decNumber.c if (n==0) *res->lsu=1; // [-]Inf**0 => 1 lsu 1901 src/decNumber/decNumber.c *res->lsu=1; // return 1 lsu 1955 src/decNumber/decNumber.c *res->lsu=1; // .. lsu 1995 src/decNumber/decNumber.c *dac->lsu=1; // was 0, make int 1 lsu 1998 src/decNumber/decNumber.c dac->digits=decShiftToMost(dac->lsu, 1, shift); lsu 2012 src/decNumber/decNumber.c *dac->lsu=1; // .. lsu 2317 src/decNumber/decNumber.c Unit *msu=res->lsu+D2U(res->digits)-1; // current msu lsu 2318 src/decNumber/decNumber.c Unit *msumax=res->lsu+D2U(set->digits)-1; //-V778 // rotation msu lsu 2358 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; //-V557 // save low digit(s) lsu 2359 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), shift); lsu 2378 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; // save low digit(s) lsu 2379 src/decNumber/decNumber.c decShiftToLeast(res->lsu, units, shift); lsu 2385 src/decNumber/decNumber.c decReverse(res->lsu+units, msumax); // left part lsu 2386 src/decNumber/decNumber.c decReverse(res->lsu, res->lsu+units-1); // right part lsu 2387 src/decNumber/decNumber.c decReverse(res->lsu, msumax); // whole lsu 2391 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, msumax-res->lsu+1); lsu 2420 src/decNumber/decNumber.c *res->lsu=ret; lsu 2524 src/decNumber/decNumber.c *res->lsu=0; // so place 0 lsu 2534 src/decNumber/decNumber.c if (res->digits>1 || *res->lsu) // if non-zero.. lsu 2535 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, shift); lsu 2540 src/decNumber/decNumber.c *res->lsu=0; // so place 0 lsu 2544 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), -shift); lsu 2758 src/decNumber/decNumber.c t->lsu[0]=259; lsu 2759 src/decNumber/decNumber.c a->lsu[0]=819; lsu 2761 src/decNumber/decNumber.c t->lsu[0]=59; t->lsu[1]=2; lsu 2762 src/decNumber/decNumber.c a->lsu[0]=19; a->lsu[1]=8; lsu 2764 src/decNumber/decNumber.c t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; lsu 2765 src/decNumber/decNumber.c a->lsu[0]=9; a->lsu[1]=1; a->lsu[2]=8; lsu 2775 src/decNumber/decNumber.c t->lsu[0]=819; lsu 2776 src/decNumber/decNumber.c a->lsu[0]=259; lsu 2778 src/decNumber/decNumber.c t->lsu[0]=19; t->lsu[1]=8; lsu 2779 src/decNumber/decNumber.c a->lsu[0]=59; a->lsu[1]=2; lsu 2781 src/decNumber/decNumber.c t->lsu[0]=9; t->lsu[1]=1; t->lsu[2]=8; lsu 2782 src/decNumber/decNumber.c a->lsu[0]=9; a->lsu[1]=5; a->lsu[2]=2; lsu 2794 src/decNumber/decNumber.c t->lsu[0]=5; // .. lsu 2847 src/decNumber/decNumber.c t->lsu[0]=1; // .. lsu 2861 src/decNumber/decNumber.c t->lsu[0]=1; // .. lsu 2914 src/decNumber/decNumber.c decShiftToLeast(a->lsu, D2U(a->digits), todrop); lsu 3057 src/decNumber/decNumber.c ua=lhs->lsu; // bottom-up lsu 3058 src/decNumber/decNumber.c ub=rhs->lsu; // .. lsu 3059 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 3089 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 3169 src/decNumber/decNumber.c dest->lsu[0]=src->lsu[0]; lsu 3175 src/decNumber/decNumber.c d=dest->lsu+1; // -> first destination lsu 3176 src/decNumber/decNumber.c smsup=src->lsu+D2U(src->digits); // -> source msu+1 lsu 3177 src/decNumber/decNumber.c for (s=src->lsu+1; s<smsup; s++, d++) *d=*s; lsu 3252 src/decNumber/decNumber.c const Unit *up=dn->lsu; // Unit pointer, -> lsu lsu 3285 src/decNumber/decNumber.c Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [target pointer] lsu 3293 src/decNumber/decNumber.c for (;up>=dn->lsu; up--) { // each Unit from msu lsu 3376 src/decNumber/decNumber.c dn->lsu[0]=0; lsu 3404 src/decNumber/decNumber.c const Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [input pointer] lsu 3425 src/decNumber/decNumber.c if (exp!=0 || (*dn->lsu==0 && dn->digits==1)) return; lsu 3434 src/decNumber/decNumber.c for (;up>=dn->lsu; up--) { // each Unit from msu lsu 3479 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits (pre>digits) lsu 3490 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits lsu 3506 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits lsu 3666 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, -adjust); lsu 3694 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, -adjust); lsu 3718 src/decNumber/decNumber.c Int partial=*lhs->lsu; lsu 3720 src/decNumber/decNumber.c partial+=*rhs->lsu; lsu 3725 src/decNumber/decNumber.c *res->lsu=(Unit)partial; // [copy could have overwritten RHS] lsu 3731 src/decNumber/decNumber.c partial-=*rhs->lsu; lsu 3734 src/decNumber/decNumber.c *res->lsu=(Unit)partial; lsu 3736 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); lsu 3769 src/decNumber/decNumber.c dtiny.lsu[0]=1; lsu 3788 src/decNumber/decNumber.c acc=res->lsu; // assume add direct to result lsu 3811 src/decNumber/decNumber.c res->digits=decUnitAddSub(lhs->lsu, D2U(lhs->digits), lsu 3812 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), lsu 3824 src/decNumber/decNumber.c if (acc!=res->lsu) { lsu 3866 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); lsu 4186 src/decNumber/decNumber.c source=lhs->lsu+D2U(lhs->digits)-1; // msu of input array lsu 4187 src/decNumber/decNumber.c for (target=msu1; source>=lhs->lsu; source--, target--) *target=*source; lsu 4193 src/decNumber/decNumber.c var2=rhs->lsu; // -> rhs array lsu 4360 src/decNumber/decNumber.c Unit lsu=*accnext; lsu 4361 src/decNumber/decNumber.c if (!(lsu&0x01) && (lsu!=0)) { lsu 4367 src/decNumber/decNumber.c if ((lsu-QUOT10(lsu, drop+1) lsu 4370 src/decNumber/decNumber.c if (lsu%powers[drop+1]!=0) break; // found non-0 digit lsu 4453 src/decNumber/decNumber.c compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits), lsu 4501 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), lsu 4725 src/decNumber/decNumber.c for (count=lhs->digits, cup=lhs->lsu, lip=zlhi; count>0; lip++) lsu 4730 src/decNumber/decNumber.c for (count=rhs->digits, cup=rhs->lsu, rip=zrhi; count>0; rip++) lsu 4823 src/decNumber/decNumber.c mermsup=rhs->lsu+D2U(rhs->digits); // -> msu+1 of multiplier lsu 4825 src/decNumber/decNumber.c for (mer=rhs->lsu; mer<mermsup; mer++) { lsu 4829 src/decNumber/decNumber.c lhs->lsu, madlength, 0, lsu 5003 src/decNumber/decNumber.c *res->lsu=1; // .. lsu 5021 src/decNumber/decNumber.c *d->lsu=4; // set 4 .. lsu 5031 src/decNumber/decNumber.c *res->lsu=1; // .. lsu 5032 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, 1, shift); lsu 5058 src/decNumber/decNumber.c *a->lsu=2; // not 1 but < exp(1) lsu 5139 src/decNumber/decNumber.c decNumberZero(a); *a->lsu=1; // accumulator=1 lsu 5140 src/decNumber/decNumber.c decNumberZero(d); *d->lsu=2; // divisor=2 lsu 5141 src/decNumber/decNumber.c decNumberZero(&numone); *numone.lsu=1; // constant 1 for increment lsu 5180 src/decNumber/decNumber.c decNumberZero(t); *t->lsu=1; // acc=1 lsu 5349 src/decNumber/decNumber.c if (rhs->lsu[0]==0 && rhs->lsu[1]==1 && rhs->digits==2) { // ln(10) lsu 5351 src/decNumber/decNumber.c if (rhs->lsu[0]==10 && rhs->digits==2) { // ln(10) lsu 5358 src/decNumber/decNumber.c if (rhs->lsu[0]==2 && rhs->digits==1) { // ln(2) lsu 5435 src/decNumber/decNumber.c decNumberZero(&numone); *numone.lsu=1; // constant 1 for adjustment lsu 5484 src/decNumber/decNumber.c if (cmp.lsu[0]==0) a->exponent=0; // yes, exact 0 lsu 5638 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, 1); // shift lsu 5652 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, -adjust); lsu 5768 src/decNumber/decNumber.c result=decUnitCompare(lhs->lsu, D2U(lhs->digits), lsu 5769 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), 0); lsu 5810 src/decNumber/decNumber.c *res->lsu=1; lsu 5913 src/decNumber/decNumber.c compare=decUnitCompare(lhs->lsu, D2U(lhs->digits), lsu 5914 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), lsu 6295 src/decNumber/decNumber.c || (*dn->lsu & 0x01)) return dn; // .. or odd lsu 6304 src/decNumber/decNumber.c up=dn->lsu; // -> current Unit lsu 6337 src/decNumber/decNumber.c decShiftToLeast(dn->lsu, D2U(dn->digits), d); lsu 6539 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); lsu 6581 src/decNumber/decNumber.c static void decSetCoeff(decNumber *dn, decContext *set, const Unit *lsu, lsu 6594 src/decNumber/decNumber.c if (dn->lsu!=lsu) { // copy needed lsu 6597 src/decNumber/decNumber.c up=lsu; lsu 6598 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) lsu 6617 src/decNumber/decNumber.c for (up=lsu; count>0; up++, count-=DECDPUN) if (*up!=0) { // found non-0 lsu 6623 src/decNumber/decNumber.c *dn->lsu=0; // coefficient will now be 0 lsu 6635 src/decNumber/decNumber.c for (up=lsu;; up++) { lsu 6654 src/decNumber/decNumber.c *dn->lsu=0; // .. result is 0 lsu 6662 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) lsu 6699 src/decNumber/decNumber.c *dn->lsu=0; // .. result is 0 lsu 6706 src/decNumber/decNumber.c for (target=dn->lsu; ; target++) { lsu 6779 src/decNumber/decNumber.c Int lsd5=*dn->lsu%5; // get lsd and quintate lsu 6798 src/decNumber/decNumber.c if (*dn->lsu & 0x01) bump=1; lsu 6848 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { lsu 6854 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=0; // others all to 0 lsu 6872 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { lsu 6880 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=(Unit)powers[DECDPUN]-1; lsu 6906 src/decNumber/decNumber.c decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump); lsu 6937 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, dn->exponent); lsu 6983 src/decNumber/decNumber.c nmin.lsu[0]=1; lsu 7016 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, shift); lsu 7085 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { lsu 7158 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); lsu 7168 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, 1); lsu 7239 src/decNumber/decNumber.c up=dn->lsu; // ready for lsu lsu 7315 src/decNumber/decNumber.c dn->lsu[0]=0; lsu 7319 src/decNumber/decNumber.c msu=dn->lsu+D2U(dn->digits-drop)-1; // -> likely msu lsu 7323 src/decNumber/decNumber.c dn->digits=decGetDigits(dn->lsu, msu-dn->lsu+1); lsu 7387 src/decNumber/decNumber.c uresp1=res->lsu+D2U(set->digits); lsu 7389 src/decNumber/decNumber.c for (ur=res->lsu, ul=lhs->lsu; ur<uresp1; ur++, ul++) *ur=*ul; lsu 76 src/decNumber/decNumber.h decNumberUnit lsu[DECNUMUNITS]; lsu 179 src/decNumber/decNumber.h # define decNumberIsZero(dn) (*(dn)->lsu==0 \ lsu 102 src/dps8/dps8_decimal.c Unit *up=dn->lsu; // output pointer lsu 225 src/dps8/dps8_decimal.c lsu 12161 src/dps8/dps8_eis.c lsu 12287 src/dps8/dps8_eis.c