mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
# Disable FASTFLOAT_HAS_BYTESWAP: step to try to fix precision error on x86 platform
This commit is contained in:
parent
56d423399d
commit
62b60e0040
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user