Merge branch 'main' of https://github.com/IRainman/fast_float into fastfloat-main

This commit is contained in:
IRainman 2025-03-12 19:04:01 +03:00
commit b869816c39

View File

@ -329,7 +329,7 @@ from_chars_float_advanced(UC const *first, UC const *last, T &value,
? parse_number_string<true, UC>(first, last, options) ? parse_number_string<true, UC>(first, last, options)
: :
#endif #endif
parse_number_string<false, UC>(first, last, options); parse_number_string<false, UC>(first, last, options);
if (!pns.valid) { if (!pns.valid) {
#ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
if (uint64_t(options.format & chars_format::no_infnan)) { if (uint64_t(options.format & chars_format::no_infnan)) {