Lines Matching refs:rounded
413 the exact result x is rounded according to mode.
433 def check_ulpdiff(self, exact, rounded):
441 y = rounded
442 if rounded.is_infinite():
443 y = _dec_from_triple(rounded._sign, '10', context.p.Emax)
445 # err = (rounded - exact) / ulp(rounded)
472 % (ulp, err, exact, rounded))
491 # _decimal's rounded result
492 rounded = P.Decimal(t.cresults[0])
495 return self.check_ulpdiff(exact, rounded)