D2U 571 src/decNumber/decNumber.c Int needbytes=D2U(d)*sizeof(Unit);// bytes needed D2U 585 src/decNumber/decNumber.c up=res+D2U(d)-1; // -> msu D2U 721 src/decNumber/decNumber.c msua=ua+D2U(lhs->digits)-1; // -> msu of lhs D2U 722 src/decNumber/decNumber.c msub=ub+D2U(rhs->digits)-1; // -> msu of rhs D2U 723 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 845 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit); D2U 859 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); D2U 1023 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit); D2U 1084 src/decNumber/decNumber.c msua=ua+D2U(rhs->digits)-1; // -> msu of rhs D2U 1085 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 1337 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit); D2U 1360 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p)-1)*sizeof(Unit); D2U 1677 src/decNumber/decNumber.c msua=ua+D2U(lhs->digits)-1; // -> msu of lhs D2U 1678 src/decNumber/decNumber.c msub=ub+D2U(rhs->digits)-1; // -> msu of rhs D2U 1679 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 1976 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit); D2U 2317 src/decNumber/decNumber.c Unit *msu=res->lsu+D2U(res->digits)-1; // current msu D2U 2318 src/decNumber/decNumber.c Unit *msumax=res->lsu+D2U(set->digits)-1; //-V778 // rotation msu D2U 2359 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), shift); D2U 2544 src/decNumber/decNumber.c decShiftToLeast(res->lsu, D2U(res->digits), -shift); D2U 2716 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); D2U 2725 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(maxp)-1)*sizeof(Unit); D2U 2914 src/decNumber/decNumber.c decShiftToLeast(a->lsu, D2U(a->digits), todrop); D2U 3060 src/decNumber/decNumber.c msua=ua+D2U(lhs->digits)-1; // -> msu of lhs D2U 3061 src/decNumber/decNumber.c msub=ub+D2U(rhs->digits)-1; // -> msu of rhs D2U 3062 src/decNumber/decNumber.c msuc=uc+D2U(set->digits)-1; // -> msu of result D2U 3176 src/decNumber/decNumber.c smsup=src->lsu+D2U(src->digits); // -> source msu+1 D2U 3285 src/decNumber/decNumber.c Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [target pointer] D2U 3404 src/decNumber/decNumber.c const Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [input pointer] D2U 3736 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); D2U 3776 src/decNumber/decNumber.c rhsshift=D2U(padding+1)-1; // this much by Unit shift .. D2U 3796 src/decNumber/decNumber.c Int need=D2U(maxdigits)+1; D2U 3811 src/decNumber/decNumber.c res->digits=decUnitAddSub(lhs->lsu, D2U(lhs->digits), D2U 3812 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), D2U 3831 src/decNumber/decNumber.c res->digits=decGetDigits(acc, D2U(res->digits)); D2U 3842 src/decNumber/decNumber.c *(acc+D2U(res->digits))=0; // ensure leading 0 is there D2U 3850 src/decNumber/decNumber.c res->digits=decGetDigits(acc, D2U(res->digits)); D2U 3866 src/decNumber/decNumber.c res->digits=decGetDigits(res->lsu, D2U(res->digits)); D2U 4146 src/decNumber/decNumber.c acclength=D2U(reqdigits+DECDPUN); // in Units D2U 4168 src/decNumber/decNumber.c var1units=D2U(maxdigits)+2; D2U 4186 src/decNumber/decNumber.c source=lhs->lsu+D2U(lhs->digits)-1; // msu of input array D2U 4192 src/decNumber/decNumber.c var2units=D2U(rhs->digits); // rhs actual length (units) D2U 4223 src/decNumber/decNumber.c var1initpad=(var1units-D2U(lhs->digits))*DECDPUN; D2U 4377 src/decNumber/decNumber.c accunits=D2U(accdigits); D2U 4432 src/decNumber/decNumber.c accunits=D2U(accdigits); D2U 4453 src/decNumber/decNumber.c compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits), D2U 4501 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), D2U 4504 src/decNumber/decNumber.c accunits=D2U(accdigits); // and recalculate the units for copy D2U 4807 src/decNumber/decNumber.c needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit); D2U 4822 src/decNumber/decNumber.c madlength=D2U(lhs->digits); // this won't change D2U 4823 src/decNumber/decNumber.c mermsup=rhs->lsu+D2U(rhs->digits); // -> msu+1 of multiplier D2U 5085 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); D2U 5117 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p*2)-1)*sizeof(Unit); D2U 5129 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(p+2)-1)*sizeof(Unit); D2U 5379 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(MAXI(p,16))-1)*sizeof(Unit); D2U 5388 src/decNumber/decNumber.c needbytes=sizeof(decNumber)+(D2U(MAXI(pp,16))-1)*sizeof(Unit); D2U 5768 src/decNumber/decNumber.c result=decUnitCompare(lhs->lsu, D2U(lhs->digits), D2U 5769 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), 0); D2U 5913 src/decNumber/decNumber.c compare=decUnitCompare(lhs->lsu, D2U(lhs->digits), D2U 5914 src/decNumber/decNumber.c rhs->lsu, D2U(rhs->digits), D2U 5961 src/decNumber/decNumber.c if (alength>blength+(Int)D2U(exp)) return 1; D2U 5962 src/decNumber/decNumber.c if (alength+1<blength+(Int)D2U(exp)) return -1; D2U 5967 src/decNumber/decNumber.c need=blength+D2U(exp); // maximum real length of B D2U 6337 src/decNumber/decNumber.c decShiftToLeast(dn->lsu, D2U(dn->digits), d); D2U 6389 src/decNumber/decNumber.c source=uar+D2U(digits)-1; // where msu comes from D2U 6390 src/decNumber/decNumber.c target=source+D2U(shift); // where upper part of first cut goes D2U 6396 src/decNumber/decNumber.c first=uar+D2U(digits+shift)-1; // where msu of source will end up D2U 6447 src/decNumber/decNumber.c up=uar+D2U(shift); D2U 6453 src/decNumber/decNumber.c up=uar+D2U(shift-cut); // source; correct to whole Units D2U 6508 src/decNumber/decNumber.c +(D2U(set->digits)-1)*sizeof(Unit)); D2U 6906 src/decNumber/decNumber.c decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump); D2U 7319 src/decNumber/decNumber.c msu=dn->lsu+D2U(dn->digits-drop)-1; // -> likely msu D2U 7387 src/decNumber/decNumber.c uresp1=res->lsu+D2U(set->digits); D2U 7391 src/decNumber/decNumber.c res->digits=D2U(set->digits)*DECDPUN; D2U 301 src/decNumber/decNumberLocal.h # define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN)