Revert "Specializing numeric_limits for float16 in any case"

This reverts commit 649d8a07f3.
This commit is contained in:
Vladyslav Baranovskyi
2024-11-07 16:20:44 +02:00
parent 649d8a07f3
commit a3d365b977

View File

@@ -236,14 +236,7 @@ namespace std
return hash<uint16_t>()(key.m_data); return hash<uint16_t>()(key.m_data);
} }
}; };
}
#endif
#undef __has_keyword
namespace std
{
template <> template <>
class numeric_limits<float16> class numeric_limits<float16>
{ {
@@ -286,5 +279,9 @@ namespace std
}; };
} }
#endif
#undef __has_keyword
typedef float16 fp16; typedef float16 fp16;
typedef float16 half; typedef float16 half;