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 eea6fef commit a14f8c5Copy full SHA for a14f8c5
include/fast_float/float_common.h
@@ -573,7 +573,7 @@ template<typename T>
573
fastfloat_really_inline FASTFLOAT_CONSTEXPR20
574
void to_float(bool negative, adjusted_mantissa am, T &value) {
575
using fastfloat_uint = typename binary_format<T>::equiv_uint;
576
- fastfloat_uint word = (uint)am.mantissa;
+ fastfloat_uint word = (fastfloat_uint)am.mantissa;
577
word |= fastfloat_uint(am.power2) << binary_format<T>::mantissa_explicit_bits();
578
word |= fastfloat_uint(negative) << binary_format<T>::sign_index();
579
#if FASTFLOAT_HAS_BIT_CAST
0 commit comments