diff --git a/develop/detail/conversions/to_chars.hpp b/develop/detail/conversions/to_chars.hpp index 73d3a087..549ff01e 100644 --- a/develop/detail/conversions/to_chars.hpp +++ b/develop/detail/conversions/to_chars.hpp @@ -204,7 +204,7 @@ boundaries compute_boundaries(FloatType value) const bool is_denormal = (E == 0); const diyfp v = is_denormal - ? diyfp(F, 1 - kBias) + ? diyfp(F, kMinExp) : diyfp(F + kHiddenBit, static_cast(E) - kBias); // Compute the boundaries m- and m+ of the floating-point value