From e6f2bf13b46eca3307ba311aeff501c5027ab756 Mon Sep 17 00:00:00 2001 From: IRainman Date: Sat, 8 Nov 2025 19:09:45 +0300 Subject: [PATCH] # test failed. --- include/fast_float/constexpr_feature_detect.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/fast_float/constexpr_feature_detect.h b/include/fast_float/constexpr_feature_detect.h index 6999538..8d409df 100644 --- a/include/fast_float/constexpr_feature_detect.h +++ b/include/fast_float/constexpr_feature_detect.h @@ -29,12 +29,11 @@ #define FASTFLOAT_CONSTEVAL FASTFLOAT_CONSTEXPR14 #endif -// Try to fix precision error in x86 platform -//#if defined(__cpp_lib_byteswap) -//#define FASTFLOAT_HAS_BYTESWAP 1 -//#else +#if defined(__cpp_lib_byteswap) +#define FASTFLOAT_HAS_BYTESWAP 1 +#else #define FASTFLOAT_HAS_BYTESWAP 0 -//#endif +#endif #if defined(__cpp_if_constexpr) && __cpp_if_constexpr >= 201606L #define FASTFLOAT_IF_CONSTEXPR17(x) if constexpr (x)