forked from btclock/btclock_v3
7 lines
79 B
C++
7 lines
79 B
C++
|
#include "utils.hpp"
|
||
|
|
||
|
int modulo(int x, int N)
|
||
|
{
|
||
|
return (x % N + N) % N;
|
||
|
}
|