Revert "Specializing numeric_limits for float16 in any case"
This reverts commit 649d8a07f3.
This commit is contained in:
@@ -236,14 +236,7 @@ namespace std
|
||||
return hash<uint16_t>()(key.m_data);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#undef __has_keyword
|
||||
|
||||
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
class numeric_limits<float16>
|
||||
{
|
||||
@@ -286,5 +279,9 @@ namespace std
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#undef __has_keyword
|
||||
|
||||
|
||||
typedef float16 fp16;
|
||||
typedef float16 half;
|
||||
|
||||
Reference in New Issue
Block a user