def __pow__(self, exp):
exp = coerceBigInt(exp)<EOL>if not exp:<EOL><INDENT>return NotImplemented<EOL><DEDENT>exp %= orderGt()<EOL>r = GtElement()<EOL>librelic.gt_exp_abi(byref(r), byref(self), byref(exp))<EOL>return r<EOL>
Computes self^exp where @exp is an integer type.