Lines Matching defs:bump
7115 Int bump; /* 1 if coefficient needs to be incremented */
7120 bump=0; /* assume a smooth ride */
7131 if (residue<0 && lsd5!=1) bump=-1;
7132 else if (residue>0 && lsd5==0) bump=1;
7133 /* [bump==1 could be applied directly; use common path for clarity] */
7138 if (residue<0) bump=-1;
7142 if (residue>5) bump=1;
7146 if (residue>5) bump=1; /* >0.5 goes up */
7149 if (*dn->lsu & 0x01) bump=1;
7154 if (residue>=5) bump=1;
7158 if (residue>0) bump=1;
7165 if (residue<0) bump=-1;
7168 if (residue>0) bump=1;
7176 if (residue<0) bump=-1;
7179 if (residue>0) bump=1;
7191 /* now bump the number, up or down, if need be */
7192 if (bump==0) return; /* no action required */
7199 if (bump>0) {
7209 dn->exponent++; /* and bump exponent */
7220 } /* bump>0 */
7222 /* here checking for a pre-bump of 1000... (leading 1, all */
7235 dn->exponent--; /* and bump exponent */
7259 } /* bump<0 */
7261 /* Actual bump needed. Do it. */
7262 decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump);