Lines Matching refs:round
60 static int round(struct fpemu *, struct fpn *);
68 * After rounding, we discard the guard and round bits by shifting right
76 round(struct fpemu *fe, struct fpn *fp)
100 /* Go to rounddown to round down; break to round up. */
106 * but round & sticky both clear, then we want to round
107 * but have a tie, so round to even, i.e., add 1 iff odd.
208 * shifting any guard and round bits out into the sticky
209 * bit. Then ``round'' towards zero, i.e., just set an
210 * inexact exception if sticky is set (see round()).
255 * shifting any guard and round bits out into the sticky
256 * bit. Then ``round'' towards zero, i.e., just set an
257 * inexact exception if sticky is set (see round()).
316 * may round to the smallest normal (1.0 x 2^minexp), or may
327 * Note that the guard and round bits vanish from the number after
333 if (round(fe, fp) && fp->fp_mant[3] == SNG_EXP(1))
346 if (round(fe, fp) && fp->fp_mant[3] == SNG_EXP(2))
390 if (round(fe, fp) && fp->fp_mant[2] == DBL_EXP(1)) {
401 if (round(fe, fp) && fp->fp_mant[2] == DBL_EXP(2))