Lines Matching defs:round
66 static int round(struct fpemu *, struct fpn *);
74 * After rounding, we discard the guard and round bits by shifting right
82 round(struct fpemu *fe, struct fpn *fp)
105 /* Go to rounddown to round down; break to round up. */
112 * but round & sticky both clear, then we want to round
113 * but have a tie, so round to even, i.e., add 1 iff odd.
212 * shifting any guard and round bits out into the sticky
213 * bit. Then ``round'' towards zero, i.e., just set an
214 * inexact exception if sticky is set (see round()).
261 * shifting any guard and round bits out into the sticky
262 * bit. Then ``round'' towards zero, i.e., just set an
263 * inexact exception if sticky is set (see round()).
325 * may round to the smallest normal (1.0 x 2^minexp), or may
336 * Note that the guard and round bits vanish from the number after
342 if (round(fe, fp) && fp->fp_mant[3] == SNG_EXP(1))
355 if (round(fe, fp) && fp->fp_mant[3] == SNG_EXP(2))
400 if (round(fe, fp) && fp->fp_mant[2] == DBL_EXP(1)) {
411 if (round(fe, fp) && fp->fp_mant[2] == DBL_EXP(2))
430 * our internal format *is* extended precision, plus 2 bits for guard/round,
458 if (round(fe, fp) && fp->fp_mant[0] == EXT_EXP(1)) {
469 if (round(fe, fp) && fp->fp_mant[0] == EXT_EXP(2))