Skip to content

Commit

Permalink
Do not attempt to benchmark fast_float with long double
Browse files Browse the repository at this point in the history
This type is not supported in fast_float:
fastfloat/fast_float#88.

As of fast_float 7.0.0, trying to parse long doubles with fast_float
results in a compiler error rather than selecting the wrong overload:
eliaskosunen#135 (comment).
  • Loading branch information
musicinmybrain committed Nov 30, 2024
1 parent 4c38f4e commit 8c53bc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion benchmark/runtime/float/repeated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,3 @@ static void scan_float_repeated_fastfloat(benchmark::State& state)
}
BENCHMARK_TEMPLATE(scan_float_repeated_fastfloat, float);
BENCHMARK_TEMPLATE(scan_float_repeated_fastfloat, double);
BENCHMARK_TEMPLATE(scan_float_repeated_fastfloat, long double);
1 change: 0 additions & 1 deletion benchmark/runtime/float/single.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,3 @@ static void scan_float_single_fastfloat(benchmark::State& state)
}
BENCHMARK_TEMPLATE(scan_float_single_fastfloat, float);
BENCHMARK_TEMPLATE(scan_float_single_fastfloat, double);
BENCHMARK_TEMPLATE(scan_float_single_fastfloat, long double);

0 comments on commit 8c53bc3

Please sign in to comment.