diff --git a/benchmarks/benchmark.cpp b/benchmarks/benchmark.cpp index 6ed3df0..fc8daf9 100644 --- a/benchmarks/benchmark.cpp +++ b/benchmarks/benchmark.cpp @@ -7,11 +7,9 @@ #include "absl/strings/numbers.h" #endif #include "fast_float/fast_float.h" -#ifdef __clang__ extern "C" { #include "ffc.h" } -#endif #ifdef ENABLE_RYU #include "ryu_parse.h" #endif @@ -178,7 +176,6 @@ double findmax_absl_from_chars(std::vector &s, bool expect_error) { } #endif -#ifdef __clang__ double findmax_ffc(std::vector &s, bool expect_error) { double answer = 0; double x = 0; @@ -191,7 +188,6 @@ double findmax_ffc(std::vector &s, bool expect_error) { } return answer; } -#endif #ifdef USING_COUNTERS template @@ -350,9 +346,7 @@ void process(std::vector &lines, size_t volume, bool expect_error) pretty_print(volume, lines.size(), "abseil", time_it_ns(lines, findmax_absl_from_chars, repeat, expect_error)); #endif pretty_print(volume, lines.size(), "fastfloat", time_it_ns(lines, findmax_fastfloat, repeat, expect_error)); -#ifdef __clang__ pretty_print(volume, lines.size(), "ffc", time_it_ns(lines, findmax_ffc, repeat, expect_error)); -#endif #ifdef FROM_CHARS_AVAILABLE_MAYBE pretty_print(volume, lines.size(), "from_chars", time_it_ns(lines, findmax_from_chars, repeat, expect_error)); #endif diff --git a/benchmarks/benchmark32.cpp b/benchmarks/benchmark32.cpp index b102de9..ba0c491 100644 --- a/benchmarks/benchmark32.cpp +++ b/benchmarks/benchmark32.cpp @@ -7,11 +7,9 @@ #include "absl/strings/numbers.h" #endif #include "fast_float/fast_float.h" -#ifdef __clang__ extern "C" { #include "ffc.h" } -#endif #ifdef ENABLE_RYU #include "ryu_parse.h" #endif @@ -158,7 +156,6 @@ double findmax_absl_from_chars(std::vector &s) { } #endif -#ifdef __clang__ double findmax_ffc(std::vector &s) { double answer = 0; float x = 0; @@ -171,7 +168,6 @@ double findmax_ffc(std::vector &s) { } return answer; } -#endif #ifdef USING_COUNTERS template @@ -316,9 +312,7 @@ void process(std::vector &lines, size_t volume) { pretty_print(volume, lines.size(), "abseil", time_it_ns(lines, findmax_absl_from_chars, repeat)); #endif pretty_print(volume, lines.size(), "fastfloat", time_it_ns(lines, findmax_fastfloat, repeat)); -#ifdef __clang__ pretty_print(volume, lines.size(), "ffc", time_it_ns(lines, findmax_ffc, repeat)); -#endif #ifdef FROM_CHARS_AVAILABLE_MAYBE pretty_print(volume, lines.size(), "from_chars", time_it_ns(lines, findmax_from_chars, repeat)); #endif