From a3d365b97734d341e7153aca3833beb91ec48998 Mon Sep 17 00:00:00 2001 From: Vladyslav Baranovskyi Date: Thu, 7 Nov 2024 16:20:44 +0200 Subject: [PATCH] Revert "Specializing numeric_limits for float16 in any case" This reverts commit 649d8a07f3887fc715e565df9c9042107ef86141. --- openVulkanoCpp/Math/Float16.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/openVulkanoCpp/Math/Float16.hpp b/openVulkanoCpp/Math/Float16.hpp index 7cc2fae..d013a16 100644 --- a/openVulkanoCpp/Math/Float16.hpp +++ b/openVulkanoCpp/Math/Float16.hpp @@ -236,14 +236,7 @@ namespace std return hash()(key.m_data); } }; -} -#endif -#undef __has_keyword - - -namespace std -{ template <> class numeric_limits { @@ -286,5 +279,9 @@ namespace std }; } +#endif +#undef __has_keyword + + typedef float16 fp16; typedef float16 half;