Debian Codegraph @

tests/bloat_analysis/a2.cpp

raw
1 #include "fast_float/fast_float.h"
2
3 double get2(char const *input) {
4 double result_value;
5 auto result =
6 fast_float::from_chars(input, input + strlen(input), result_value);
7 if (result.ec != std::errc()) {
8 return 2;
9 }
10 return result_value;
11 }