This commit is contained in:
HedgehogInTheCPP 2026-08-17 17:47:32 +03:00
parent 438aaad998
commit a883161d7e
2 changed files with 5 additions and 8 deletions

View File

@ -2,10 +2,7 @@
#define FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
#define FASTFLOAT_ONLY_ROUNDS_TO_NEAREST_SUPPORTED
#define FASTFLOAT_ISNOT_CHECKED_BOUNDS
// #define FASTFLOAT_SSE_PATCH_REWORK // WIP, only for test!
#ifdef FASTFLOAT_SSE_PATCH_REWORK
#define FASTFLOAT_X86_SIMD 42
#endif
#define FASTFLOAT_X86_SIMD 42 // current maximum for test.
#if defined(__linux__) || (__APPLE__ && __aarch64__)
#define USING_COUNTERS

View File

@ -119,10 +119,6 @@ using parse_options = parse_options_t<char>;
} // namespace fast_float
#if FASTFLOAT_HAS_BIT_CAST
#include <bit>
#endif
#if (defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \
defined(__amd64) || defined(__aarch64__) || defined(_M_ARM64) || \
defined(__MINGW64__) || defined(__s390x__) || \
@ -295,6 +291,10 @@ static_assert(FASTFLOAT_X86_SIMD == 20 || FASTFLOAT_X86_SIMD == 42 || FASTFLOAT_
#define FASTFLOAT_ENABLE_IF(...) \
typename std::enable_if<(__VA_ARGS__), int>::type
#if FASTFLOAT_HAS_BIT_CAST
#include <bit>
#endif
namespace fast_float {
#if FASTFLOAT_HAS_BIT_CAST
using std::bit_cast;