Lines Matching full:round
15 enum round { ROUND_floor, ROUND_ceil, ROUND_near }; enum
27 enum round round; member
31 #define TESTREC(src, dst, round, prec) { \ argument
32 UNIT_##src, UNIT_##dst, prec, ROUND_##round, \
33 (void *)test_##src##_to_##dst##_##round##prec \
37 #define TESTVAR(src, dst, round, prec) argument
39 #define TESTVAR(src, dst, round, prec) \ argument
40 uint##prec##_t test_##src##_to_##dst##_##round##prec##_val = \
41 k_##src##_to_##dst##_##round##prec(42);
44 #define TESTFUNC(src, dst, round, prec) \ argument
45 TESTVAR(src, dst, round, prec) \
46 static uint##prec##_t test_##src##_to_##dst##_##round##prec(uint##prec##_t t) { \
47 return k_##src##_to_##dst##_##round##prec(t); \
276 if (t->round == ROUND_floor) { in test_conversion()
279 } else if (t->round == ROUND_ceil) { in test_conversion()
290 val, val, from_hz, to_hz, t->precision, round_s[t->round], in test_conversion()