heyuntao
2023-07-03 741672790a5dc06e2e078b29451458f779985c59
1
2
3
export default function mod(n, x) {
    return ((n % x) + x) % x;
}