forked from fmtlib/fmt
Fix type in assert message. (#3508)
Reviewed all strings in the file and found no other typos.
This commit is contained in:
@ -3300,7 +3300,7 @@ FMT_CONSTEXPR20 auto format_float(Float value, int precision, float_specs specs,
|
|||||||
significand <<= 1;
|
significand <<= 1;
|
||||||
} else {
|
} else {
|
||||||
// Normalize subnormal inputs.
|
// 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);
|
int shift = countl_zero(significand);
|
||||||
FMT_ASSERT(shift >= num_bits<uint64_t>() - num_significand_bits<double>(),
|
FMT_ASSERT(shift >= num_bits<uint64_t>() - num_significand_bits<double>(),
|
||||||
"");
|
"");
|
||||||
|
Reference in New Issue
Block a user