Home | History | Annotate | Download | only in libdecnumber

Lines Matching defs:reround

625       uByte reround;		   /* reround value */
630 reround=*roundat;
633 reround=DECSTICKYTAB[reround];
642 if (reround!=0) { /* discarding non-zero */
645 if (reround>5) bump=1; /* >0.5 goes up */
646 else if (reround==5) /* exactly 0.5000 .. */
656 } /* reround!=0 */
2965 uByte reround; /* reround value */
2976 /* round-for-reround digit) */
2984 reround=*roundat;
2987 reround=DECSTICKYTAB[reround]; /* apply sticky bit */
2996 reround=*roundat;
3000 reround=0;
3004 reround=DECSTICKYTAB[reround]; /* apply sticky bit */
3012 if (reround!=0) { /* discarding non-zero */
3018 if (reround>5) bump=1; /* >0.5 goes up */
3019 else if (reround==5) /* exactly 0.5000 .. */
3027 if (reround>5) bump=1;
3030 if (reround>=5) bump=1;
3033 if (reround>0) bump=1;
3037 if (!(sourhil&DECFLOAT_Sign) && reround>0) bump=1;
3041 /* [negative reround cannot occur on 0] */
3042 if (sourhil&DECFLOAT_Sign && reround>0) bump=1;
3045 if (reround>0) { /* anything out there is 'sticky' */
3059 /* printf("ReRound: %ld bump: %ld\n", (LI)reround, (LI)bump); */