Home
last modified time | relevance | path

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

/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_8.c62 int32_t decimal_part = n & mask; 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.py60 decimal_part = n & mask
66 if decimal_part < rounding_boundary: