# Disable FASTFLOAT_HAS_BYTESWAP: step to try to fix precision error on x86 platform

This commit is contained in:
IRainman 2025-11-08 18:29:14 +03:00
parent 56d423399d
commit 62b60e0040

View File

@ -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)