From 8c53bc3653fe9081a8a68f2bb7f587aee733be48 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 30 Nov 2024 10:32:23 -0500 Subject: [PATCH] Do not attempt to benchmark fast_float with long double This type is not supported in fast_float: https://github.com/fastfloat/fast_float/issues/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: https://github.com/eliaskosunen/scnlib/issues/135#issuecomment-2493873042. --- benchmark/runtime/float/repeated.cpp | 1 - benchmark/runtime/float/single.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/benchmark/runtime/float/repeated.cpp b/benchmark/runtime/float/repeated.cpp index 0aa0c39a..8a4de0a1 100644 --- a/benchmark/runtime/float/repeated.cpp +++ b/benchmark/runtime/float/repeated.cpp @@ -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); diff --git a/benchmark/runtime/float/single.cpp b/benchmark/runtime/float/single.cpp index e06cd138..6819621b 100644 --- a/benchmark/runtime/float/single.cpp +++ b/benchmark/runtime/float/single.cpp @@ -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);