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

pow

abstract fun pow(exponent: UInt64!): T (source)

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

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

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

Parameters

exponent - UInt64!: The exponent to which this value is to be raised.

Return
T: this<sup>exponent</sup> mod 2<sup>64</sup>

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

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

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

Parameters

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

Return
T: this<sup>exponent</sup> mod 2<sup>64</sup>