Skip to content

BigInt.Mod

Name Mandatory Description Default Type
⬅️ Input Any valid big integer(s) represented as bytes supported by this operation. Bytes[Bytes]
Output ➡️ Outputs the result of the operation as a big integer or sequence of big integers represented as bytes. Bytes[Bytes]
Operand No The big integer to compute the modulus with respect to. 0 Var(Bytes)Var([Bytes])

This shard computes the modulus of the input big integer with respect to the big integer specified in the Operand parameter and outputs the result.

Examples

1
2
3
4
5
6
3 | BigInt = expected
10 | BigInt = operand

13 | BigInt
BigInt.Mod(Operand: operand)
BigInt.Is(expected) | Assert.Is(true true)