mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-09-14 22:52:47 +08:00
cleanup
This commit is contained in:
parent
438aaad998
commit
a883161d7e
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user