open fun multiplyMod(value: T, modulus: UInt64!): T
(source)open fun multiplyMod(value: Long, modulus: UInt64!): T
(source)open fun multiplyMod(value: Long, modulus: Long): T
(source)
open fun multiplyMod(value: UInt64!, modulus: UInt64!): T
(source)
Returns a value that is ((this * value) mod modulus)
.
value
- UInt64!: The amount to multiply this value by.
modulus
- UInt64!: The modulus.
ArithmeticException
- value
< 0 or modulus
== 0.
Return
T: (this * value) mod modulus