def increase_exponent_to(self, new_exponent):
        """return FixedPointNumber: new encoding with same value but having great exponent.
        """
        if new_exponent < self.exponent:
            raise ValueError('New exponent %i should be greater than'
                             'old exponent %i' % (new_exponent, self.exponent))
            
        factor = pow(self.BASE, new_exponent - self.exponent)
        new_encoding = self.encoding * factor % self.n
        
        return FixedPointNumber(new_encoding, new_exponent, self.n, self.max_int)
return FixedPointNumber: new encoding with same value but having great exponent.
        
fedlearner/model/crypto/fixed_point_number.py