Lines Matching refs:bump
7066 Int bump; /* 1 if coefficient needs to be incremented */
7071 bump=0; /* assume a smooth ride */
7082 if (residue<0 && lsd5!=1) bump=-1;
7083 else if (residue>0 && lsd5==0) bump=1;
7084 /* [bump==1 could be applied directly; use common path for clarity] */
7089 if (residue<0) bump=-1;
7093 if (residue>5) bump=1;
7097 if (residue>5) bump=1; /* >0.5 goes up */
7100 if (*dn->lsu & 0x01) bump=1;
7105 if (residue>=5) bump=1;
7109 if (residue>0) bump=1;
7116 if (residue<0) bump=-1;
7119 if (residue>0) bump=1;
7127 if (residue<0) bump=-1;
7130 if (residue>0) bump=1;
7142 /* now bump the number, up or down, if need be */
7143 if (bump==0) return; /* no action required */
7150 if (bump>0) {
7160 dn->exponent++; /* and bump exponent */
7171 } /* bump>0 */
7173 /* here checking for a pre-bump of 1000... (leading 1, all */
7186 dn->exponent--; /* and bump exponent */
7210 } /* bump<0 */
7212 /* Actual bump needed. Do it. */
7213 decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump);