(self, man, exp, lower, upper)
return man, exp
Bring mantissa to range (posmask, mask].
Bring mantissa to range (posmask, mask].
Bring mantissa to range ( posmask mask ] .
def _bring_to_range(self, man, exp, lower, upper):
        """Bring mantissa to range (posmask, mask]."""
        while abs(man) <= lower:
            exp -= 1
            man <<= 1
        while abs(man) > upper:
            exp += 1
            man >>= 1
        return man, exp
def _bring_to_range ( self , man , exp , lower , upper ) : while abs ( man ) <= lower : exp -= 1 man <<= 1 while abs ( man ) > upper : exp += 1 man >>= 1 return man , exp