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 f725017 commit a539a09Copy full SHA for a539a09
libc/src/__support/float_to_string.h
@@ -653,7 +653,7 @@ FloatToString<long double>::get_positive_block(int block_index) {
653
654
// shift_amount = -(c0 - exponent) = c_0 + 16 * ceil(exponent/16) - exponent
655
656
- cpp::UInt<MID_INT_SIZE> val;
+ cpp::UInt<MID_INT_SIZE> val(0);
657
#ifdef LIBC_COPT_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE
658
// ------------------------------ TABLE MODE -------------------------------
659
const int32_t SHIFT_CONST = TABLE_SHIFT_CONST;
0 commit comments