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