tuweni / org.apache.tuweni.units.bigints / UInt32Value / pow

pow

abstract fun pow(exponent: UInt32): T (source)

Returns a value that is (this<sup>exponent</sup> mod 2<sup>32</sup>)

This calculates an exponentiation over the modulus of 2^32.

Note that exponent is an UInt32 rather than of the type T.

Parameters

exponent - The exponent to which this value is to be raised.

Return
this<sup>exponent</sup> mod 2<sup>32</sup>

abstract fun pow(exponent: Long): T (source)

Returns a value that is (this<sup>exponent</sup> mod 2<sup>32</sup>)

This calculates an exponentiation over the modulus of 2^32.

Parameters

exponent - The exponent to which this value is to be raised.

Return
this<sup>exponent</sup> mod 2<sup>32</sup>