(self, exp, neg)
return True
Overflow and underflow check
        returns:
            True if nonzero non-infinite
            False if underflow
        raises:
            OverflowError if overflow
Overflow and underflow check
        returns:
            True if nonzero non-infinite
            False if underflow
        raises:
            OverflowError if overflow
Overflow and underflow check returns : True if nonzero non - infinite False if underflow raises : OverflowError if overflow
def _check_limits(self, exp, neg):
        """Overflow and underflow check
        returns:
            True if nonzero non-infinite
            False if underflow
        raises:
            OverflowError if overflow
        """
        if exp > 255:
            self.from_bytes(self.neg_max if neg else self.pos_max)
            raise OverflowError(self)
        elif exp <= 0:
            # set to zero, but leave mantissa as is
            self._buffer[-1:] = int2byte(0)
            return False
        return True
def _check_limits ( self , exp , neg ) : if exp > 255 : self . from_bytes ( self . neg_max if neg else self . pos_max ) raise OverflowError ( self ) elif exp <= 0 : # set to zero, but leave mantissa as is self . _buffer [ - 1 : ] = int2byte ( 0 ) return False return True