Home | History | Annotate | Download | only in test

Lines Matching refs:Modulus

34 template <int Modulus>
36 Check(x >= RoundDown<Modulus>(x));
37 Check(x < RoundDown<Modulus>(x) + Modulus);
38 Check(RoundDown<Modulus>(x) % Modulus == 0);
40 Check(x <= RoundUp<Modulus>(x));
41 Check(x > RoundUp<Modulus>(x) - Modulus);
42 Check(RoundUp<Modulus>(x) % Modulus == 0);
45 template <int Modulus>
48 test_round_up_down<Modulus>(i);
50 test_round_up_down<Modulus>(Random() % N);