tuweni / org.apache.tuweni.units.bigints / UInt256Value / mod0

mod0

abstract fun mod0(modulus: UInt256!): T (source)

Returns a value that is (this mod modulus), or 0 if modulus is 0.

Parameters

modulus - UInt256!: The modulus.

Return
T: this mod modulus.

abstract fun mod0(modulus: Long): T (source)

Returns a value that is (this mod modulus), or 0 if modulus is 0.

Parameters

modulus - Long: The modulus.

Return
T: this mod modulus.