Home
last modified time | relevance | path

Searched refs:rounding_boundary (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_8.c65 int32_t rounding_boundary = 1 << (shift - 1); in round_fixed_point() local
68 return (decimal_part < rounding_boundary) ? (n & ~mask) : ((n >> shift) + 1) << shift; in round_fixed_point()
Dlv_example_chart_8.py63 rounding_boundary = 1 << (shift - 1)
66 if decimal_part < rounding_boundary: