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