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