We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63bbefa commit 62f526dCopy full SHA for 62f526d
include/fast_float/float_common.h
@@ -1067,8 +1067,10 @@ fastfloat_really_inline FASTFLOAT_CONSTEXPR20 void
1067
to_float(bool negative, adjusted_mantissa am, T &value) {
1068
using equiv_uint = equiv_uint_t<T>;
1069
equiv_uint word = equiv_uint(am.mantissa);
1070
- word |= equiv_uint(am.power2) << binary_format<T>::mantissa_explicit_bits();
1071
- word |= equiv_uint(negative) << binary_format<T>::sign_index();
+ word = equiv_uint(word | equiv_uint(am.power2)
+ << binary_format<T>::mantissa_explicit_bits());
1072
+ word =
1073
+ equiv_uint(word | equiv_uint(negative) << binary_format<T>::sign_index());
1074
#if FASTFLOAT_HAS_BIT_CAST
1075
value = std::bit_cast<T>(word);
1076
#else
0 commit comments