(self, den)
return self._add_den((exp+1, man, neg), (exp+3, man, neg))
Multiply in-place by 10.
Multiply in-place by 10.
Multiply in - place by 10 .
def _mul10_den(self, den):
        """Multiply in-place by 10."""
        exp, man, neg = den
        # 10x == 2(x+4x)
        return self._add_den((exp+1, man, neg), (exp+3, man, neg))
def _mul10_den ( self , den ) : exp , man , neg = den # 10x == 2(x+4x) return self . _add_den ( ( exp + 1 , man , neg ) , ( exp + 3 , man , neg ) )