Skip to content

Commit

Permalink
Fix type in assert message. (#3508)
Browse files Browse the repository at this point in the history
Reviewed all strings in the file and found no other typos.
  • Loading branch information
TobiSchluter committed Jun 26, 2023
1 parent 13156e5 commit a331dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -3300,7 +3300,7 @@ FMT_CONSTEXPR20 auto format_float(Float value, int precision, float_specs specs,
significand <<= 1;
} else {
// Normalize subnormal inputs.
FMT_ASSERT(significand != 0, "zeros should not appear hear");
FMT_ASSERT(significand != 0, "zeros should not appear here");
int shift = countl_zero(significand);
FMT_ASSERT(shift >= num_bits<uint64_t>() - num_significand_bits<double>(),
"");
Expand Down

0 comments on commit a331dbf

Please sign in to comment.