Template Function fast_float::detail::parse_infnan

Function Documentation

template<typename T>
from_chars_result fast_float::detail::parse_infnan(const char *first, const char *last, T &value) noexcept

Special case +inf, -inf, nan, infinity, -infinity. The case comparisons could be made much faster given that we know that the strings a null-free and fixed.