open fun addMod(value: T, modulus: UInt384!): T
(source)open fun addMod(value: Long, modulus: UInt384!): T
(source)open fun addMod(value: Long, modulus: Long): T
(source)
open fun addMod(value: UInt384!, modulus: UInt384!): T
(source)
Returns a value equivalent to ((this + value) mod modulus)
.
value
- UInt384!: The amount to be added to this value.
modulus
- UInt384!: The modulus.
ArithmeticException
- modulus
== 0.
Return
T: (this + value) mod modulus