D2U 586 src/decNumber/decNumber.c Int needbytes=D2U(d)*sizeof(Unit);// bytes needed D2U 600 src/decNumber/decNumber.c up=res+D2U(d)-1; // -> msu D2U 736 src/decNumber/decNumber.c msua=ua+D2U(lhs->digits)-1; // -> msu of lhs D2U 737 src/decNumber/decNumber.c msub=ub+D2U(rhs->digits)-1; // -> msu of rhs D2U 738 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 860 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit); D2U 874 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); D2U 1038 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit); D2U 1100 src/decNumber/decNumber.c msua=ua+D2U(rhs->digits)-1; // -> msu of rhs D2U 1101 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 1353 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit); D2U 1376 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit); D2U 1693 src/decNumber/decNumber.c msua=ua+D2U(lhs->digits)-1; // -> msu of lhs D2U 1694 src/decNumber/decNumber.c msub=ub+D2U(rhs->digits)-1; // -> msu of rhs D2U 1695 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 1992 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); D2U 2333 src/decNumber/decNumber.c Unit *msu=res->lsu+D2U(res->digits)-1; // current msu D2U 2334 src/decNumber/decNumber.c Unit *msumax=res->lsu+D2U(set->digits)-1; //-V778 // rotation msu D2U 2375 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), shift); D2U 2560 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), -shift); D2U 2732 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); D2U 2741 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit); D2U 2930 src/decNumber/decNumber.c decShiftToLeast(a->lsu, D2U(a->digits), todrop); D2U 3076 src/decNumber/decNumber.c msua=ua+D2U(lhs->digits)-1; // -> msu of lhs D2U 3077 src/decNumber/decNumber.c msub=ub+D2U(rhs->digits)-1; // -> msu of rhs D2U 3078 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 3192 src/decNumber/decNumber.c smsup=src->lsu+D2U(src->digits); // -> source msu+1 D2U 3301 src/decNumber/decNumber.c Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [target pointer] D2U 3421 src/decNumber/decNumber.c const Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [input pointer] D2U 3753 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); D2U 3793 src/decNumber/decNumber.c rhsshift=D2U(padding+1)-1; // this much by Unit shift .. D2U 3813 src/decNumber/decNumber.c Int need=D2U(maxdigits)+1; D2U 3829 src/decNumber/decNumber.c res->digits=decUnitAddSub(lhs->lsu, D2U(lhs->digits), D2U 3830 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), D2U 3849 src/decNumber/decNumber.c res->digits=decGetDigits(acc, D2U(res->digits)); D2U 3860 src/decNumber/decNumber.c *(acc+D2U(res->digits))=0; // ensure leading 0 is there D2U 3868 src/decNumber/decNumber.c res->digits=decGetDigits(acc, D2U(res->digits)); D2U 3884 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); D2U 4164 src/decNumber/decNumber.c acclength=D2U(reqdigits+DECDPUN); // in Units D2U 4187 src/decNumber/decNumber.c var1units=D2U(maxdigits)+2; D2U 4206 src/decNumber/decNumber.c source=lhs->lsu+D2U(lhs->digits)-1; // msu of input array D2U 4212 src/decNumber/decNumber.c var2units=D2U(rhs->digits); // rhs actual length (units) D2U 4243 src/decNumber/decNumber.c var1initpad=(var1units-D2U(lhs->digits))*DECDPUN; D2U 4397 src/decNumber/decNumber.c accunits=D2U(accdigits); D2U 4452 src/decNumber/decNumber.c accunits=D2U(accdigits); D2U 4473 src/decNumber/decNumber.c compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits), D2U 4521 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), D2U 4524 src/decNumber/decNumber.c accunits=D2U(accdigits); // and recalculate the units for copy D2U 4827 src/decNumber/decNumber.c needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit); D2U 4842 src/decNumber/decNumber.c madlength=D2U(lhs->digits); // this won't change D2U 4843 src/decNumber/decNumber.c mermsup=rhs->lsu+D2U(rhs->digits); // -> msu+1 of multiplier D2U 5105 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); D2U 5137 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p*2)-1)*sizeof(Unit); D2U 5149 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p+2)-1)*sizeof(Unit); D2U 5399 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(MAXI(p,16))-1)*sizeof(Unit); D2U 5408 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(MAXI(pp,16))-1)*sizeof(Unit); D2U 5788 src/decNumber/decNumber.c result=decUnitCompare(lhs->lsu, D2U(lhs->digits), D2U 5789 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), 0); D2U 5933 src/decNumber/decNumber.c compare=decUnitCompare(lhs->lsu, D2U(lhs->digits), D2U 5934 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), D2U 5981 src/decNumber/decNumber.c if (alength>blength+(Int)D2U(exp)) return 1; D2U 5982 src/decNumber/decNumber.c if (alength+1<blength+(Int)D2U(exp)) return -1; D2U 5987 src/decNumber/decNumber.c need=blength+D2U(exp); // maximum real length of B D2U 6357 src/decNumber/decNumber.c decShiftToLeast(dn->lsu, D2U(dn->digits), d); D2U 6409 src/decNumber/decNumber.c source=uar+D2U(digits)-1; // where msu comes from D2U 6410 src/decNumber/decNumber.c target=source+D2U(shift); // where upper part of first cut goes D2U 6416 src/decNumber/decNumber.c first=uar+D2U(digits+shift)-1; // where msu of source will end up D2U 6467 src/decNumber/decNumber.c up=uar+D2U(shift); D2U 6473 src/decNumber/decNumber.c up=uar+D2U(shift-cut); // source; correct to whole Units D2U 6528 src/decNumber/decNumber.c +(D2U(set->digits)-1)*sizeof(Unit)); D2U 6928 src/decNumber/decNumber.c decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump); D2U 7341 src/decNumber/decNumber.c msu=dn->lsu+D2U(dn->digits-drop)-1; // -> likely msu D2U 7409 src/decNumber/decNumber.c uresp1=res->lsu+D2U(set->digits); D2U 7413 src/decNumber/decNumber.c res->digits=D2U(set->digits)*DECDPUN; D2U 299 src/decNumber/decNumberLocal.h # define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN)