tuweni / org.apache.tuweni.units.bigints / BaseUInt384Value / multiplyMod

multiplyMod

open fun multiplyMod(value: T, modulus: UInt384!): T (source)
open fun multiplyMod(value: Long, modulus: UInt384!): T (source)
open fun multiplyMod(value: Long, modulus: Long): T (source) open fun multiplyMod(value: UInt384!, modulus: UInt384!): T (source)

Returns a value that is ((this * value) mod modulus).

Parameters

value - UInt384!: The amount to multiply this value by.

modulus - UInt384!: The modulus.

Exceptions

ArithmeticException - value < 0 or modulus == 0.

Return
T: (this * value) mod modulus