mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
Being pedantic.
This commit is contained in:
parent
e5917323ec
commit
8a0a0c4fc1
@ -136,10 +136,10 @@ struct adjusted_mantissa {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct decimal {
|
struct decimal {
|
||||||
uint32_t num_digits;
|
uint32_t num_digits{0};
|
||||||
int32_t decimal_point;
|
int32_t decimal_point{0};
|
||||||
bool negative;
|
bool negative{false};
|
||||||
bool truncated;
|
bool truncated{false};
|
||||||
uint8_t digits[max_digits];
|
uint8_t digits[max_digits];
|
||||||
decimal() = default;
|
decimal() = default;
|
||||||
// Copies are not allowed since this is a fat object.
|
// Copies are not allowed since this is a fat object.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user