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