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