Modular arithmetic
Compute the canonical remainder for a positive modulus.
How it works
The remainder modulo m ranges from 0 to m − 1, including for negative input.
Usage example
-17
Maximum input 4,096 bytes · Timeout 5 s
Compute the canonical remainder for a positive modulus.
The remainder modulo m ranges from 0 to m − 1, including for negative input.
-17
Maximum input 4,096 bytes · Timeout 5 s