mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
try reordering again.
This commit is contained in:
parent
1aed8ee6dd
commit
f3db77a07c
@ -264,7 +264,6 @@ template <typename UC> struct parsed_number_string_t {
|
|||||||
uint64_t mantissa{0};
|
uint64_t mantissa{0};
|
||||||
int16_t exponent{0};
|
int16_t exponent{0};
|
||||||
UC const *lastmatch{nullptr};
|
UC const *lastmatch{nullptr};
|
||||||
parse_error error{parse_error::no_error};
|
|
||||||
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
|
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
|
||||||
bool negative{false};
|
bool negative{false};
|
||||||
#endif
|
#endif
|
||||||
@ -273,6 +272,7 @@ template <typename UC> struct parsed_number_string_t {
|
|||||||
// contains the range of the significant digits
|
// contains the range of the significant digits
|
||||||
span<UC const> integer{}; // non-nullable
|
span<UC const> integer{}; // non-nullable
|
||||||
span<UC const> fraction{}; // nullable
|
span<UC const> fraction{}; // nullable
|
||||||
|
parse_error error{parse_error::no_error};
|
||||||
};
|
};
|
||||||
|
|
||||||
using byte_span = span<char const>;
|
using byte_span = span<char const>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user