abstract fun pow(exponent: UInt256): T
(source)
Returns a value that is (this<sup>exponent</sup> mod 2<sup>256</sup>)
This calculates an exponentiation over the modulus of 2^256
.
Note that exponent
is an UInt256 rather than of the type T
.
exponent
- The exponent to which this value is to be raised.
Return
this<sup>exponent</sup> mod 2<sup>256</sup>
abstract fun pow(exponent: Long): T
(source)
Returns a value that is (this<sup>exponent</sup> mod 2<sup>256</sup>)
This calculates an exponentiation over the modulus of 2^256
.
exponent
- The exponent to which this value is to be raised.
Return
this<sup>exponent</sup> mod 2<sup>256</sup>