Skip to content

Commit 8a0a0c4

Browse files
committed
Being pedantic.
1 parent e591732 commit 8a0a0c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/fast_float/float_common.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ struct adjusted_mantissa {
136136
};
137137

138138
struct decimal {
139-
uint32_t num_digits;
140-
int32_t decimal_point;
141-
bool negative;
142-
bool truncated;
139+
uint32_t num_digits{0};
140+
int32_t decimal_point{0};
141+
bool negative{false};
142+
bool truncated{false};
143143
uint8_t digits[max_digits];
144144
decimal() = default;
145145
// Copies are not allowed since this is a fat object.

0 commit comments

Comments
 (0)