residue 444 src/decNumber/decNumber.c Int residue; // rounding residue residue 631 src/decNumber/decNumber.c residue=0; residue 632 src/decNumber/decNumber.c decSetCoeff(dn, set, res, d, &residue, &status); residue 634 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); residue 640 src/decNumber/decNumber.c residue=0; residue 641 src/decNumber/decNumber.c decFinalize(dn, set, &residue, &status); residue 1325 src/decNumber/decNumber.c Int residue=0; // (no residue) residue 1330 src/decNumber/decNumber.c decCopyFit(w, rhs, &aset, &residue, ©stat); // copy & shorten residue 1338 src/decNumber/decNumber.c residue=0; residue 1339 src/decNumber/decNumber.c decCopyFit(res, w, set, &residue, &status); // copy & round residue 1340 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags residue 1821 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 2098 src/decNumber/decNumber.c decFinalize(dac, set, &residue, &status); residue 2113 src/decNumber/decNumber.c decCopyFit(res, dac, set, &residue, &status); residue 2114 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // final cleanup residue 2179 src/decNumber/decNumber.c Int residue=0; // as usual residue 2202 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, &status); // copy & round residue 2203 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); // cleanup/set flags residue 2459 src/decNumber/decNumber.c Int residue; // work residue 2487 src/decNumber/decNumber.c residue=0; residue 2488 src/decNumber/decNumber.c decCopyFit(res, res, set, &residue, &status); residue 2489 src/decNumber/decNumber.c decFinalize(res, set, &residue, &status); // final check residue 2649 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 2711 src/decNumber/decNumber.c decFinish(res, set, &residue, &status); residue 2831 src/decNumber/decNumber.c residue=0; // .. and accumulator residue 2832 src/decNumber/decNumber.c decCopyFit(a, a, &approxset, &residue, &rstatus); // reduce (if needed) residue 2833 src/decNumber/decNumber.c decFinish(a, &approxset, &residue, &rstatus); // clean and finalize residue 3602 src/decNumber/decNumber.c Int residue; // rounding accumulator residue 3661 src/decNumber/decNumber.c residue=0; // clear accumulator residue 3662 src/decNumber/decNumber.c decCopyFit(res, rhs, set, &residue, status); // copy (as needed) residue 3690 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize residue 3698 src/decNumber/decNumber.c residue=0; // clear accumulator residue 3699 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); // copy (as needed) residue 3717 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // clean and finalize residue 3841 src/decNumber/decNumber.c residue=0; // clear accumulator residue 3850 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); residue 3872 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); residue 3875 src/decNumber/decNumber.c if (residue!=0) { residue 3876 src/decNumber/decNumber.c decApplyRound(res, set, residue, status); residue 3877 src/decNumber/decNumber.c residue=0; // did what needed to be done residue 3887 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 4012 src/decNumber/decNumber.c Int residue; // for rounding residue 4064 src/decNumber/decNumber.c residue=0; residue 4067 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); residue 4079 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 4121 src/decNumber/decNumber.c residue=0; residue 4122 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // check exponent residue 4151 src/decNumber/decNumber.c residue=0; residue 4152 src/decNumber/decNumber.c decCopyFit(res, lhs, set, &residue, status); residue 4153 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 4370 src/decNumber/decNumber.c residue=0; // assume no residue residue 4373 src/decNumber/decNumber.c if (*var1!=0 || var1units>1) residue=1; residue 4432 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // might clamp residue 4538 src/decNumber/decNumber.c decSetCoeff(res, set, accnext, accdigits, &residue, status); residue 4540 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup residue 4599 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 4881 src/decNumber/decNumber.c decSetCoeff(res, set, acc, res->digits, &residue, status); residue 4882 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // final cleanup residue 4981 src/decNumber/decNumber.c Int residue; // rounding residue residue 5219 src/decNumber/decNumber.c residue=1; // indicate dirt to right .. residue 5220 src/decNumber/decNumber.c if (ISZERO(a)) residue=0; // .. unless underflowed to 0 residue 5222 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten residue 5223 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags residue 5325 src/decNumber/decNumber.c Int residue; // rounding residue residue 5434 src/decNumber/decNumber.c residue=0; // (no residue) residue 5436 src/decNumber/decNumber.c decCopyFit(b, rhs, &aset, &residue, &ignore); // copy & shorten residue 5523 src/decNumber/decNumber.c residue=1; // indicate dirt to right residue 5524 src/decNumber/decNumber.c if (ISZERO(a)) residue=0; // .. unless underflowed to 0 residue 5526 src/decNumber/decNumber.c decCopyFit(res, a, &aset, &residue, status); // copy & shorten residue 5527 src/decNumber/decNumber.c decFinish(res, set, &residue, status); // cleanup/set flags residue 5568 src/decNumber/decNumber.c Int residue=0; // rounding residue residue 5645 src/decNumber/decNumber.c decCopyFit(res, lhs, &workset, &residue, status); // fit to result residue 5646 src/decNumber/decNumber.c decApplyRound(res, &workset, residue, status); // .. and round residue 5647 src/decNumber/decNumber.c residue=0; // [used] residue 5685 src/decNumber/decNumber.c decFinalize(res, set, &residue, status); // set subnormal flags residue 5836 src/decNumber/decNumber.c Int residue=0; // rounding accumulator residue 5870 src/decNumber/decNumber.c decCopyFit(res, choice, set, &residue, status); residue 5871 src/decNumber/decNumber.c decFinish(res, set, &residue, status); residue 6523 src/decNumber/decNumber.c Int residue=0; // rounding accumulator residue 6533 src/decNumber/decNumber.c decCopyFit(res, dn, set, &residue, &newstatus); residue 6534 src/decNumber/decNumber.c decApplyRound(res, set, residue, &newstatus); residue 6556 src/decNumber/decNumber.c decContext *set, Int *residue, uInt *status) { residue 6559 src/decNumber/decNumber.c decSetCoeff(dest, set, src->lsu, src->digits, residue, status); residue 6602 src/decNumber/decNumber.c Int len, Int *residue, uInt *status) { residue 6623 src/decNumber/decNumber.c if (*residue!=0) *status|=(DEC_Inexact | DEC_Rounded); residue 6630 src/decNumber/decNumber.c if (*residue>1) *residue=1; // previous residue now to right, so reduce residue 6635 src/decNumber/decNumber.c if (*residue<=0) { // not already positive residue 6638 src/decNumber/decNumber.c *residue=1; residue 6642 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude residue 6658 src/decNumber/decNumber.c if (*up!=0) *residue=1; residue 6667 src/decNumber/decNumber.c if (*up>half) *residue=7; residue 6668 src/decNumber/decNumber.c else *residue+=5; // add sticky bit residue 6671 src/decNumber/decNumber.c if (*up!=0) *residue=3; // [else is 0, leave as sticky bit] residue 6699 src/decNumber/decNumber.c if (rem!=0) *residue=1; residue 6713 src/decNumber/decNumber.c *residue+=resmap[discard1]; residue 6746 src/decNumber/decNumber.c if (*residue!=0) *status|=DEC_Inexact; // record inexactitude residue 6782 src/decNumber/decNumber.c static void decApplyRound(decNumber *dn, decContext *set, Int residue, residue 6787 src/decNumber/decNumber.c if (residue==0) return; // nothing to apply residue 6800 src/decNumber/decNumber.c if (residue<0 && lsd5!=1) bump=-1; residue 6801 src/decNumber/decNumber.c else if (residue>0 && lsd5==0) bump=1; residue 6807 src/decNumber/decNumber.c if (residue<0) bump=-1; residue 6811 src/decNumber/decNumber.c if (residue>5) bump=1; residue 6815 src/decNumber/decNumber.c if (residue>5) bump=1; // >0.5 goes up residue 6816 src/decNumber/decNumber.c else if (residue==5) { // exactly 0.5000... residue 6823 src/decNumber/decNumber.c if (residue>=5) bump=1; residue 6827 src/decNumber/decNumber.c if (residue>0) bump=1; residue 6834 src/decNumber/decNumber.c if (residue<0) bump=-1; residue 6837 src/decNumber/decNumber.c if (residue>0) bump=1; residue 6845 src/decNumber/decNumber.c if (residue<0) bump=-1; residue 6848 src/decNumber/decNumber.c if (residue>0) bump=1; residue 6948 src/decNumber/decNumber.c static void decFinish(decNumber *dn, decContext *set, Int *residue, residue 6965 src/decNumber/decNumber.c decFinalize(dn, set, residue, status); residue 6983 src/decNumber/decNumber.c static void decFinalize(decNumber *dn, decContext *set, Int *residue, residue 7000 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); residue 7012 src/decNumber/decNumber.c if (*residue<0 && comp==0) { // neg residue and dn==Nmin residue 7013 src/decNumber/decNumber.c decApplyRound(dn, set, *residue, status); // might force down residue 7014 src/decNumber/decNumber.c decSetSubnormal(dn, set, residue, status); residue 7020 src/decNumber/decNumber.c if (*residue!=0) decApplyRound(dn, set, *residue, status); residue 7136 src/decNumber/decNumber.c static void decSetSubnormal(decNumber *dn, decContext *set, Int *residue, residue 7180 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); residue 7181 src/decNumber/decNumber.c decApplyRound(dn, &workset, *residue, status); residue 936 src/dps8/dps8_eis.c uint residue = nChars % nPos; residue 954 src/dps8/dps8_eis.c c = (word9) get4 (data, (int) residue); residue 958 src/dps8/dps8_eis.c c = (word9) get6 (data, (int) residue); residue 962 src/dps8/dps8_eis.c c = get9 (data, (int) residue); residue 966 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 968 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 998 src/dps8/dps8_eis.c uint residue = nChars % nPos; residue 1016 src/dps8/dps8_eis.c w = put4 (data, (int) residue, (word4) c469); residue 1020 src/dps8/dps8_eis.c w = put6 (data, (int) residue, (word6) c469); residue 1024 src/dps8/dps8_eis.c w = put9 (data, (int) residue, c469);