residue 429 src/decNumber/decNumber.c Int residue; // rounding residue residue 616 src/decNumber/decNumber.c residue=0; residue 617 src/decNumber/decNumber.c decSetCoeff(dn, set, res, d, &residue, &status); residue 619 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); residue 625 src/decNumber/decNumber.c residue=0; residue 626 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); residue 1309 src/decNumber/decNumber.c Int residue=0; // (no residue) residue 1314 src/decNumber/decNumber.c decCopyFit(w, rhs, &aset, &residue, ©stat); // copy & shorten residue 1322 src/decNumber/decNumber.c residue=0; residue 1323 src/decNumber/decNumber.c decCopyFit(res, w, set, &residue, &status); // copy & round residue 1324 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags residue 1805 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 2082 src/decNumber/decNumber.c decFinalize(dac, set, &residue, &status); residue 2097 src/decNumber/decNumber.c decCopyFit(res, dac, set, &residue, &status); residue 2098 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // final cleanup residue 2163 src/decNumber/decNumber.c Int residue=0; // as usual residue 2186 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, &status); // copy & round residue 2187 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags residue 2443 src/decNumber/decNumber.c Int residue; // work residue 2471 src/decNumber/decNumber.c residue=0; residue 2472 src/decNumber/decNumber.c decCopyFit(res, res, set, &residue, &status); residue 2473 src/decNumber/decNumber.c decFinalize(res, set, &residue, &status); // final check residue 2633 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 2695 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); residue 2815 src/decNumber/decNumber.c residue=0; // .. and accumulator residue 2816 src/decNumber/decNumber.c decCopyFit(a, a, &approxset, &residue, &rstatus); // reduce (if needed) residue 2817 src/decNumber/decNumber.c decFinish(a, &approxset, &residue, &rstatus); // clean and finalize residue 3585 src/decNumber/decNumber.c Int residue; // rounding accumulator residue 3644 src/decNumber/decNumber.c residue=0; // clear accumulator residue 3645 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, status); // copy (as needed) residue 3673 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize residue 3681 src/decNumber/decNumber.c residue=0; // clear accumulator residue 3682 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); // copy (as needed) residue 3700 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize residue 3823 src/decNumber/decNumber.c residue=0; // clear accumulator residue 3832 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); residue 3854 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); residue 3857 src/decNumber/decNumber.c if (residue!=0) { residue 3858 src/decNumber/decNumber.c decApplyRound(res, set, residue, status); residue 3859 src/decNumber/decNumber.c residue=0; // did what needed to be done residue 3869 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 3994 src/decNumber/decNumber.c Int residue; // for rounding residue 4046 src/decNumber/decNumber.c residue=0; residue 4049 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); residue 4061 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 4103 src/decNumber/decNumber.c residue=0; residue 4104 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // check exponent residue 4133 src/decNumber/decNumber.c residue=0; residue 4134 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); residue 4135 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 4350 src/decNumber/decNumber.c residue=0; // assume no residue residue 4353 src/decNumber/decNumber.c if (*var1!=0 || var1units>1) residue=1; residue 4412 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // might clamp residue 4518 src/decNumber/decNumber.c decSetCoeff(res, set, accnext, accdigits, &residue, status); residue 4520 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup residue 4579 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 4861 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); residue 4862 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup residue 4961 src/decNumber/decNumber.c Int residue; // rounding residue residue 5199 src/decNumber/decNumber.c residue=1; // indicate dirt to right .. residue 5200 src/decNumber/decNumber.c if (ISZERO(a)) residue=0; // .. unless underflowed to 0 residue 5202 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten residue 5203 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags residue 5305 src/decNumber/decNumber.c Int residue; // rounding residue residue 5414 src/decNumber/decNumber.c residue=0; // (no residue) residue 5416 src/decNumber/decNumber.c decCopyFit(b, rhs, &aset, &residue, &ignore); // copy & shorten residue 5503 src/decNumber/decNumber.c residue=1; // indicate dirt to right residue 5504 src/decNumber/decNumber.c if (ISZERO(a)) residue=0; // .. unless underflowed to 0 residue 5506 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten residue 5507 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags residue 5548 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 5625 src/decNumber/decNumber.c decCopyFit(res, lhs, &workset, &residue, status); // fit to result residue 5626 src/decNumber/decNumber.c decApplyRound(res, &workset, residue, status); // .. and round residue 5627 src/decNumber/decNumber.c residue=0; // [used] residue 5665 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // set subnormal flags residue 5816 src/decNumber/decNumber.c Int residue=0; // rounding accumulator residue 5850 src/decNumber/decNumber.c decCopyFit(res, choice, set, &residue, status); residue 5851 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 6503 src/decNumber/decNumber.c Int residue=0; // rounding accumulator residue 6513 src/decNumber/decNumber.c decCopyFit(res, dn, set, &residue, &newstatus); residue 6514 src/decNumber/decNumber.c decApplyRound(res, set, residue, &newstatus); residue 6536 src/decNumber/decNumber.c decContext *set, Int *residue, uInt *status) { residue 6539 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); residue 6582 src/decNumber/decNumber.c Int len, Int *residue, uInt *status) { residue 6603 src/decNumber/decNumber.c if (*residue!=0) *status|=(DEC_Inexact | DEC_Rounded); residue 6610 src/decNumber/decNumber.c if (*residue>1) *residue=1; // previous residue now to right, so reduce residue 6615 src/decNumber/decNumber.c if (*residue<=0) { // not already positive residue 6618 src/decNumber/decNumber.c *residue=1; residue 6622 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude residue 6638 src/decNumber/decNumber.c if (*up!=0) *residue=1; residue 6647 src/decNumber/decNumber.c if (*up>half) *residue=7; residue 6648 src/decNumber/decNumber.c else *residue+=5; // add sticky bit residue 6651 src/decNumber/decNumber.c if (*up!=0) *residue=3; // [else is 0, leave as sticky bit] residue 6679 src/decNumber/decNumber.c if (rem!=0) *residue=1; residue 6693 src/decNumber/decNumber.c *residue+=resmap[discard1]; residue 6726 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude residue 6762 src/decNumber/decNumber.c static void decApplyRound(decNumber *dn, decContext *set, Int residue, residue 6767 src/decNumber/decNumber.c if (residue==0) return; // nothing to apply residue 6780 src/decNumber/decNumber.c if (residue<0 && lsd5!=1) bump=-1; residue 6781 src/decNumber/decNumber.c else if (residue>0 && lsd5==0) bump=1; residue 6787 src/decNumber/decNumber.c if (residue<0) bump=-1; residue 6791 src/decNumber/decNumber.c if (residue>5) bump=1; residue 6795 src/decNumber/decNumber.c if (residue>5) bump=1; // >0.5 goes up residue 6796 src/decNumber/decNumber.c else if (residue==5) { // exactly 0.5000... residue 6803 src/decNumber/decNumber.c if (residue>=5) bump=1; residue 6807 src/decNumber/decNumber.c if (residue>0) bump=1; residue 6814 src/decNumber/decNumber.c if (residue<0) bump=-1; residue 6817 src/decNumber/decNumber.c if (residue>0) bump=1; residue 6825 src/decNumber/decNumber.c if (residue<0) bump=-1; residue 6828 src/decNumber/decNumber.c if (residue>0) bump=1; residue 6926 src/decNumber/decNumber.c static void decFinish(decNumber *dn, decContext *set, Int *residue, residue 6943 src/decNumber/decNumber.c decFinalize(dn, set, residue, status); residue 6961 src/decNumber/decNumber.c static void decFinalize(decNumber *dn, decContext *set, Int *residue, residue 6978 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); residue 6990 src/decNumber/decNumber.c if (*residue<0 && comp==0) { // neg residue and dn==Nmin residue 6991 src/decNumber/decNumber.c decApplyRound(dn, set, *residue, status); // might force down residue 6992 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); residue 6998 src/decNumber/decNumber.c if (*residue!=0) decApplyRound(dn, set, *residue, status); residue 7114 src/decNumber/decNumber.c static void decSetSubnormal(decNumber *dn, decContext *set, Int *residue, residue 7158 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); residue 7159 src/decNumber/decNumber.c decApplyRound(dn, &workset, *residue, status); residue 929 src/dps8/dps8_eis.c uint residue = nChars % nPos; residue 947 src/dps8/dps8_eis.c c = (word9) get4 (data, (int) residue); residue 951 src/dps8/dps8_eis.c c = (word9) get6 (data, (int) residue); residue 955 src/dps8/dps8_eis.c c = get9 (data, (int) residue); residue 959 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISGet469 : k: %u TAk %u coffset %u c %o \n", k, cpu.du.TAk[k - 1], residue, c); residue 961 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISGet469 : k: %u TAk %u coffset %u c %o \n", k, e -> TA [k - 1], residue, c); residue 991 src/dps8/dps8_eis.c uint residue = nChars % nPos; residue 1009 src/dps8/dps8_eis.c w = put4 (data, (int) residue, (word4) c469); residue 1013 src/dps8/dps8_eis.c w = put6 (data, (int) residue, (word6) c469); residue 1017 src/dps8/dps8_eis.c w = put9 (data, (int) residue, c469);