mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
manually checked modified files for errors, but not committing .clang-format due to the following warning: >>> Setting `QualifierAlignment` to something other than `Leave`, COULD lead to incorrect code formatting due to incorrect decisions made due to clang-formats lack of complete semantic information. As such extra care should be taken to review code changes made by the use of this option.
20 lines
575 B
C++
20 lines
575 B
C++
|
|
|
|
double get1(char const *input);
|
|
double get2(char const *input);
|
|
double get3(char const *input);
|
|
double get4(char const *input);
|
|
double get5(char const *input);
|
|
double get6(char const *input);
|
|
double get7(char const *input);
|
|
double get8(char const *input);
|
|
double get9(char const *input);
|
|
double get10(char const *input);
|
|
|
|
int main(int arg, char **argv) {
|
|
double x = get1(argv[0]) + get2(argv[0]) + get3(argv[0]) + get4(argv[0]) +
|
|
get5(argv[0]) + get6(argv[0]) + get7(argv[0]) + get8(argv[0]) +
|
|
get9(argv[0]) + get10(argv[0]);
|
|
|
|
return int(x);
|
|
} |