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