Fix type in assert message.

Reviewed all strings in the file and found no other typos.
This commit is contained in:
Tobias Schlüter 2023-06-25 19:54:29 +09:00 committed by GitHub
parent 13156e54bf
commit 52326e4035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>(),
"");