- More Documentation
- Vulkan Configuration Implementations - Fixed build errors on GCC and Clang
This commit is contained in:
@@ -27,10 +27,10 @@ namespace fennec::test
|
||||
|
||||
inline void fennec_test_lang_hashing() {
|
||||
|
||||
size_t num = 61;
|
||||
float_t numf = bit_cast<float>((uint32_t)num);
|
||||
double_t numd = bit_cast<double>(num);
|
||||
size_t exp = hash<size_t>()(num);
|
||||
constexpr size_t num = 61;
|
||||
constexpr float_t numf = bit_cast<float>(uint32_t(num));
|
||||
constexpr double_t numd = bit_cast<double>(num);
|
||||
constexpr size_t exp = hash<size_t>()(num);
|
||||
|
||||
fennec_test_run(hash<int8_t>()(num), exp);
|
||||
fennec_test_run(hash<uint8_t>()(num), exp);
|
||||
|
||||
Reference in New Issue
Block a user