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