blob: 79bffeb9e08577a45bce37c28680225ff854f65e [file]
#include "fast_float/fast_float.h"
double get8(char const *input) {
double result_value;
auto result =
fast_float::from_chars(input, input + strlen(input), result_value);
if (result.ec != std::errc()) {
return 8;
}
return result_value;
}