(self, right_in)
return self._normalise(lexp, lman, lneg)
Divide in-place.
Divide in-place.
Divide in - place .
def idiv(self, right_in):
        """Divide in-place."""
        if right_in.is_zero():
            # division by zero - return max float with the type and sign of self
            self.from_bytes(self.neg_max if self.is_negative() else self.pos_max)
            raise ZeroDivisionError(self)
        if self.is_zero():
            return self
        lexp, lman, lneg = self._div_den(self._denormalise(), right_in._denormalise())
        # normalise and return
        return self._normalise(lexp, lman, lneg)
def idiv ( self , right_in ) : if right_in . is_zero ( ) : # division by zero - return max float with the type and sign of self self . from_bytes ( self . neg_max if self . is_negative ( ) else self . pos_max ) raise ZeroDivisionError ( self ) if self . is_zero ( ) : return self lexp , lman , lneg = self . _div_den ( self . _denormalise ( ) , right_in . _denormalise ( ) ) # normalise and return return self . _normalise ( lexp , lman , lneg )