From 7a38e1bc7566879a79e6896308d2b48a7dd16a30 Mon Sep 17 00:00:00 2001 From: IRainman Date: Thu, 6 Mar 2025 22:47:47 +0300 Subject: [PATCH] fix for 32 bit build. completely done. All other parser mode also work fine. --- include/fast_float/parse_number.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fast_float/parse_number.h b/include/fast_float/parse_number.h index 0223343..e165d17 100644 --- a/include/fast_float/parse_number.h +++ b/include/fast_float/parse_number.h @@ -260,9 +260,9 @@ from_chars_advanced(const parsed_number_string_t &pns, T &value) noexcept { if (pns.mantissa == 0) { value = #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN - pns.negative ? T(-0.) + pns.negative ? T(-0.) : #endif - : T(0.); + T(0.); return answer; } #endif