mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
fix for 32 bit build. completely done. All other parser mode also work fine.
This commit is contained in:
parent
9ebac23081
commit
7a38e1bc75
@ -260,9 +260,9 @@ from_chars_advanced(const parsed_number_string_t<UC> &pns, T &value) noexcept {
|
|||||||
if (pns.mantissa == 0) {
|
if (pns.mantissa == 0) {
|
||||||
value =
|
value =
|
||||||
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
|
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
|
||||||
pns.negative ? T(-0.)
|
pns.negative ? T(-0.) :
|
||||||
#endif
|
#endif
|
||||||
: T(0.);
|
T(0.);
|
||||||
return answer;
|
return answer;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user