Searched refs:leftmost_digit (Results 1 – 1 of 1) sorted by relevance
744 double leftmost_digit; in hud_pane_set_max_value() local763 leftmost_digit = DIV_ROUND_UP(value, exp10); in hud_pane_set_max_value()766 if (leftmost_digit == 9) { in hud_pane_set_max_value()767 leftmost_digit = 1; in hud_pane_set_max_value()772 switch ((unsigned)leftmost_digit) { in hud_pane_set_max_value()781 pane->last_line = leftmost_digit * 2; /* lines in +1/2 increments */ in hud_pane_set_max_value()787 pane->last_line = leftmost_digit; /* lines in +1 increments */ in hud_pane_set_max_value()795 if (leftmost_digit == i && value <= (i - 0.5) * exp10) { in hud_pane_set_max_value()796 leftmost_digit = i - 0.5; in hud_pane_set_max_value()797 pane->last_line = leftmost_digit * 2; /* lines in +1/2 increments. */ in hud_pane_set_max_value()[all …]