mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 02:19:15 +00:00
chore: Update makefiles & macros
This commit is contained in:
@ -19,11 +19,11 @@
|
||||
|
||||
/* Stubs */
|
||||
#define FLT_RADIX 2
|
||||
#if a64
|
||||
#if __amd64__
|
||||
#define DBL_MANT_DIG 53
|
||||
#define DBL_MAX_10_EXP 308
|
||||
#define DBL_MAX 1.7976931348623157e+308
|
||||
#elif a32
|
||||
#elif __i386__
|
||||
#define DBL_MANT_DIG 24
|
||||
#define DBL_MAX_10_EXP 38
|
||||
#define DBL_MAX 3.4028234663852886e+38
|
||||
|
@ -37,11 +37,11 @@ namespace std
|
||||
{
|
||||
size_t operator()(const Key &key) const
|
||||
{
|
||||
#if defined(a64)
|
||||
#if defined(__amd64__)
|
||||
static_assert(sizeof(uintptr_t) == sizeof(uint64_t));
|
||||
const uint64_t FNV_OFFSET_BASIS = 14695981039346656037ull;
|
||||
const uint64_t FNV_PRIME = 1099511628211ull;
|
||||
#elif defined(a32)
|
||||
#elif defined(__i386__)
|
||||
static_assert(sizeof(uintptr_t) == sizeof(uint32_t));
|
||||
const uint32_t FNV_OFFSET_BASIS = 2166136261u;
|
||||
const uint32_t FNV_PRIME = 16777619u;
|
||||
|
Reference in New Issue
Block a user