lsu 307 src/decNumber/decNumber.c for (up=dn->lsu; uin>0; up++) { lsu 311 src/decNumber/decNumber.c dn->digits=decGetDigits(dn->lsu, up-dn->lsu); lsu 332 src/decNumber/decNumber.c up=dn->lsu; // -> lsu lsu 365 src/decNumber/decNumber.c up=dn->lsu; // -> lsu lsu 584 src/decNumber/decNumber.c if (d<=set->digits) res=dn->lsu; // fits into supplied decNumber lsu 733 src/decNumber/decNumber.c ua=lhs->lsu; // bottom-up lsu 734 src/decNumber/decNumber.c ub=rhs->lsu; // .. lsu 735 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 766 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 1098 src/decNumber/decNumber.c ua=rhs->lsu; // bottom-up lsu 1099 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 1123 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 1332 src/decNumber/decNumber.c if (!(copystat&DEC_Inexact) && w->lsu[0]==1) { lsu 1386 src/decNumber/decNumber.c w->lsu[1]=1; w->lsu[0]=0; // .. lsu 1388 src/decNumber/decNumber.c w->lsu[0]=10; // .. lsu 1548 src/decNumber/decNumber.c dtiny.lsu[0]=1; lsu 1590 src/decNumber/decNumber.c dtiny.lsu[0]=1; lsu 1649 src/decNumber/decNumber.c dtiny.lsu[0]=1; // make number that is .. lsu 1690 src/decNumber/decNumber.c ua=lhs->lsu; // bottom-up lsu 1691 src/decNumber/decNumber.c ub=rhs->lsu; // .. lsu 1692 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 1722 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 1861 src/decNumber/decNumber.c dnOne.lsu[0]=1; lsu 1867 src/decNumber/decNumber.c else if (dac->lsu[0]==0) { // lhs=1 lsu 1870 src/decNumber/decNumber.c *res->lsu=1; // was 0, make int 1 lsu 1871 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, 1, shift); lsu 1899 src/decNumber/decNumber.c if (n==0) *res->lsu=1; // [-]Inf**0 => 1 lsu 1917 src/decNumber/decNumber.c *res->lsu=1; // return 1 lsu 1971 src/decNumber/decNumber.c *res->lsu=1; // .. lsu 2011 src/decNumber/decNumber.c *dac->lsu=1; // was 0, make int 1 lsu 2014 src/decNumber/decNumber.c dac->digits=decShiftToMost(dac->lsu, 1, shift); lsu 2028 src/decNumber/decNumber.c *dac->lsu=1; // .. lsu 2333 src/decNumber/decNumber.c Unit *msu=res->lsu+D2U(res->digits)-1; // current msu lsu 2334 src/decNumber/decNumber.c Unit *msumax=res->lsu+D2U(set->digits)-1; //-V778 // rotation msu lsu 2374 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; //-V557 // save low digit(s) lsu 2375 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), shift); lsu 2394 src/decNumber/decNumber.c uInt save=res->lsu[0]%powers[shift]; // save low digit(s) lsu 2395 src/decNumber/decNumber.c decShiftToLeast(res->lsu, units, shift); lsu 2401 src/decNumber/decNumber.c decReverse(res->lsu+units, msumax); // left part lsu 2402 src/decNumber/decNumber.c decReverse(res->lsu, res->lsu+units-1); // right part lsu 2403 src/decNumber/decNumber.c decReverse(res->lsu, msumax); // whole lsu 2407 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, msumax-res->lsu+1); lsu 2436 src/decNumber/decNumber.c *res->lsu=ret; lsu 2540 src/decNumber/decNumber.c *res->lsu=0; // so place 0 lsu 2550 src/decNumber/decNumber.c if (res->digits>1 || *res->lsu) // if non-zero.. lsu 2551 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, shift); lsu 2556 src/decNumber/decNumber.c *res->lsu=0; // so place 0 lsu 2560 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), -shift); lsu 2774 src/decNumber/decNumber.c t->lsu[0]=259; lsu 2775 src/decNumber/decNumber.c a->lsu[0]=819; lsu 2777 src/decNumber/decNumber.c t->lsu[0]=59; t->lsu[1]=2; lsu 2778 src/decNumber/decNumber.c a->lsu[0]=19; a->lsu[1]=8; lsu 2780 src/decNumber/decNumber.c t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; lsu 2781 src/decNumber/decNumber.c a->lsu[0]=9; a->lsu[1]=1; a->lsu[2]=8; lsu 2791 src/decNumber/decNumber.c t->lsu[0]=819; lsu 2792 src/decNumber/decNumber.c a->lsu[0]=259; lsu 2794 src/decNumber/decNumber.c t->lsu[0]=19; t->lsu[1]=8; lsu 2795 src/decNumber/decNumber.c a->lsu[0]=59; a->lsu[1]=2; lsu 2797 src/decNumber/decNumber.c t->lsu[0]=9; t->lsu[1]=1; t->lsu[2]=8; lsu 2798 src/decNumber/decNumber.c a->lsu[0]=9; a->lsu[1]=5; a->lsu[2]=2; lsu 2810 src/decNumber/decNumber.c t->lsu[0]=5; // .. lsu 2863 src/decNumber/decNumber.c t->lsu[0]=1; // .. lsu 2877 src/decNumber/decNumber.c t->lsu[0]=1; // .. lsu 2930 src/decNumber/decNumber.c decShiftToLeast(a->lsu, D2U(a->digits), todrop); lsu 3073 src/decNumber/decNumber.c ua=lhs->lsu; // bottom-up lsu 3074 src/decNumber/decNumber.c ub=rhs->lsu; // .. lsu 3075 src/decNumber/decNumber.c uc=res->lsu; // .. lsu 3105 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, uc-res->lsu); lsu 3185 src/decNumber/decNumber.c dest->lsu[0]=src->lsu[0]; lsu 3191 src/decNumber/decNumber.c d=dest->lsu+1; // -> first destination lsu 3192 src/decNumber/decNumber.c smsup=src->lsu+D2U(src->digits); // -> source msu+1 lsu 3193 src/decNumber/decNumber.c for (s=src->lsu+1; s<smsup; s++, d++) *d=*s; lsu 3268 src/decNumber/decNumber.c const Unit *up=dn->lsu; // Unit pointer, -> lsu lsu 3301 src/decNumber/decNumber.c Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [target pointer] lsu 3309 src/decNumber/decNumber.c for (;up>=dn->lsu; up--) { // each Unit from msu lsu 3393 src/decNumber/decNumber.c dn->lsu[0]=0; lsu 3421 src/decNumber/decNumber.c const Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [input pointer] lsu 3442 src/decNumber/decNumber.c if (exp!=0 || (*dn->lsu==0 && dn->digits==1)) return; lsu 3451 src/decNumber/decNumber.c for (;up>=dn->lsu; up--) { // each Unit from msu lsu 3496 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits (pre>digits) lsu 3507 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits lsu 3523 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits lsu 3683 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, -adjust); lsu 3711 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, -adjust); lsu 3735 src/decNumber/decNumber.c Int partial=*lhs->lsu; lsu 3737 src/decNumber/decNumber.c partial+=*rhs->lsu; lsu 3742 src/decNumber/decNumber.c *res->lsu=(Unit)partial; // [copy could have overwritten RHS] lsu 3748 src/decNumber/decNumber.c partial-=*rhs->lsu; lsu 3751 src/decNumber/decNumber.c *res->lsu=(Unit)partial; lsu 3753 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); lsu 3786 src/decNumber/decNumber.c dtiny.lsu[0]=1; lsu 3805 src/decNumber/decNumber.c acc=res->lsu; // assume add direct to result lsu 3829 src/decNumber/decNumber.c res->digits=decUnitAddSub(lhs->lsu, D2U(lhs->digits), lsu 3830 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), lsu 3842 src/decNumber/decNumber.c if (acc!=res->lsu) { lsu 3884 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); lsu 4206 src/decNumber/decNumber.c source=lhs->lsu+D2U(lhs->digits)-1; // msu of input array lsu 4207 src/decNumber/decNumber.c for (target=msu1; source>=lhs->lsu; source--, target--) *target=*source; lsu 4213 src/decNumber/decNumber.c var2=rhs->lsu; // -> rhs array lsu 4380 src/decNumber/decNumber.c Unit lsu=*accnext; lsu 4381 src/decNumber/decNumber.c if (!(lsu&0x01) && (lsu!=0)) { lsu 4387 src/decNumber/decNumber.c if ((lsu-QUOT10(lsu, drop+1) lsu 4390 src/decNumber/decNumber.c if (lsu%powers[drop+1]!=0) break; // found non-0 digit lsu 4473 src/decNumber/decNumber.c compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits), lsu 4521 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), lsu 4745 src/decNumber/decNumber.c for (count=lhs->digits, cup=lhs->lsu, lip=zlhi; count>0; lip++) lsu 4750 src/decNumber/decNumber.c for (count=rhs->digits, cup=rhs->lsu, rip=zrhi; count>0; rip++) lsu 4843 src/decNumber/decNumber.c mermsup=rhs->lsu+D2U(rhs->digits); // -> msu+1 of multiplier lsu 4845 src/decNumber/decNumber.c for (mer=rhs->lsu; mer<mermsup; mer++) { lsu 4849 src/decNumber/decNumber.c lhs->lsu, madlength, 0, lsu 5023 src/decNumber/decNumber.c *res->lsu=1; // .. lsu 5041 src/decNumber/decNumber.c *d->lsu=4; // set 4 .. lsu 5051 src/decNumber/decNumber.c *res->lsu=1; // .. lsu 5052 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, 1, shift); lsu 5078 src/decNumber/decNumber.c *a->lsu=2; // not 1 but < exp(1) lsu 5159 src/decNumber/decNumber.c decNumberZero(a); *a->lsu=1; // accumulator=1 lsu 5160 src/decNumber/decNumber.c decNumberZero(d); *d->lsu=2; // divisor=2 lsu 5161 src/decNumber/decNumber.c decNumberZero(&numone); *numone.lsu=1; // constant 1 for increment lsu 5200 src/decNumber/decNumber.c decNumberZero(t); *t->lsu=1; // acc=1 lsu 5369 src/decNumber/decNumber.c if (rhs->lsu[0]==0 && rhs->lsu[1]==1 && rhs->digits==2) { // ln(10) lsu 5371 src/decNumber/decNumber.c if (rhs->lsu[0]==10 && rhs->digits==2) { // ln(10) lsu 5378 src/decNumber/decNumber.c if (rhs->lsu[0]==2 && rhs->digits==1) { // ln(2) lsu 5455 src/decNumber/decNumber.c decNumberZero(&numone); *numone.lsu=1; // constant 1 for adjustment lsu 5504 src/decNumber/decNumber.c if (cmp.lsu[0]==0) a->exponent=0; // yes, exact 0 lsu 5658 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, 1); // shift lsu 5672 src/decNumber/decNumber.c res->digits=decShiftToMost(res->lsu, res->digits, -adjust); lsu 5788 src/decNumber/decNumber.c result=decUnitCompare(lhs->lsu, D2U(lhs->digits), lsu 5789 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), 0); lsu 5830 src/decNumber/decNumber.c *res->lsu=1; lsu 5933 src/decNumber/decNumber.c compare=decUnitCompare(lhs->lsu, D2U(lhs->digits), lsu 5934 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), lsu 6315 src/decNumber/decNumber.c || (*dn->lsu & 0x01)) return dn; // .. or odd lsu 6324 src/decNumber/decNumber.c up=dn->lsu; // -> current Unit lsu 6357 src/decNumber/decNumber.c decShiftToLeast(dn->lsu, D2U(dn->digits), d); lsu 6559 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); lsu 6601 src/decNumber/decNumber.c static void decSetCoeff(decNumber *dn, decContext *set, const Unit *lsu, lsu 6614 src/decNumber/decNumber.c if (dn->lsu!=lsu) { // copy needed lsu 6617 src/decNumber/decNumber.c up=lsu; lsu 6618 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) lsu 6637 src/decNumber/decNumber.c for (up=lsu; count>0; up++, count-=DECDPUN) if (*up!=0) { // found non-0 lsu 6643 src/decNumber/decNumber.c *dn->lsu=0; // coefficient will now be 0 lsu 6655 src/decNumber/decNumber.c for (up=lsu;; up++) { lsu 6674 src/decNumber/decNumber.c *dn->lsu=0; // .. result is 0 lsu 6682 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) lsu 6719 src/decNumber/decNumber.c *dn->lsu=0; // .. result is 0 lsu 6726 src/decNumber/decNumber.c for (target=dn->lsu; ; target++) { lsu 6799 src/decNumber/decNumber.c Int lsd5=*dn->lsu%5; // get lsd and quintate lsu 6818 src/decNumber/decNumber.c if (*dn->lsu & 0x01) bump=1; lsu 6868 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { lsu 6874 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=0; // others all to 0 lsu 6892 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { lsu 6900 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=(Unit)powers[DECDPUN]-1; lsu 6928 src/decNumber/decNumber.c decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump); lsu 6959 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, dn->exponent); lsu 7005 src/decNumber/decNumber.c nmin.lsu[0]=1; lsu 7038 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, shift); lsu 7107 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { lsu 7180 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); lsu 7190 src/decNumber/decNumber.c dn->digits=decShiftToMost(dn->lsu, dn->digits, 1); lsu 7261 src/decNumber/decNumber.c up=dn->lsu; // ready for lsu lsu 7337 src/decNumber/decNumber.c dn->lsu[0]=0; lsu 7341 src/decNumber/decNumber.c msu=dn->lsu+D2U(dn->digits-drop)-1; // -> likely msu lsu 7345 src/decNumber/decNumber.c dn->digits=decGetDigits(dn->lsu, msu-dn->lsu+1); lsu 7409 src/decNumber/decNumber.c uresp1=res->lsu+D2U(set->digits); lsu 7411 src/decNumber/decNumber.c for (ur=res->lsu, ul=lhs->lsu; ur<uresp1; ur++, ul++) *ur=*ul; lsu 77 src/decNumber/decNumber.h decNumberUnit lsu[DECNUMUNITS]; lsu 180 src/decNumber/decNumber.h # define decNumberIsZero(dn) (*(dn)->lsu==0 \ lsu 102 src/dps8/dps8_decimal.c Unit *up=dn->lsu; // output pointer lsu 224 src/dps8/dps8_decimal.c lsu 12033 src/dps8/dps8_eis.c lsu 12159 src/dps8/dps8_eis.c