diff --git a/include/fast_float/constexpr_feature_detect.h b/include/fast_float/constexpr_feature_detect.h index 8d409df..6999538 100644 --- a/include/fast_float/constexpr_feature_detect.h +++ b/include/fast_float/constexpr_feature_detect.h @@ -29,11 +29,12 @@ #define FASTFLOAT_CONSTEVAL FASTFLOAT_CONSTEXPR14 #endif -#if defined(__cpp_lib_byteswap) -#define FASTFLOAT_HAS_BYTESWAP 1 -#else +// Try to fix precision error in x86 platform +//#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)