Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
js324 committed Jan 17, 2024
1 parent 2ce9f9a commit 2ccc7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ void write_fractional_seconds(OutputIt& out, Duration d, int precision = -1) {
int remaining = precision - leading_zeroes;
if (remaining < num_digits) {
int num_truncated_digits = num_digits - remaining;
n /= to_unsigned(detail::pow10(to_unsigned(num_truncated_digits)-1)); //002999
n /= to_unsigned(detail::pow10(to_unsigned(num_truncated_digits)-1));
const int old_num_digits = detail::count_digits(n);
auto roundingDigit = n % 10;
n /= 10;
Expand Down

0 comments on commit 2ccc7aa

Please sign in to comment.