@arcium-hq/clientFunctions
positiveModulo
positiveModulo(
a,m):bigint
Compute the positive modulo of a over m.
Parameters
| Parameter | Type | Description |
|---|---|---|
a | bigint | Dividend. |
m | bigint | Modulus. |
Returns
bigint
Positive remainder of a mod m.
positiveModulo(
a,m):bigint
Compute the positive modulo of a over m.
| Parameter | Type | Description |
|---|---|---|
a | bigint | Dividend. |
m | bigint | Modulus. |
bigint
Positive remainder of a mod m.