Simplification

This commit is contained in:
Alexey Milovidov 2021-05-05 02:09:32 +03:00
parent acd0d9b34c
commit 77ebbdaeda

View File

@ -93,7 +93,6 @@ bool equalsOp(A a, B b)
return a == b; return a == b;
/// anything vs NaN /// anything vs NaN
if constexpr (std::is_floating_point_v<A> || std::is_floating_point_v<B>)
if (isNaN(a) || isNaN(b)) if (isNaN(a) || isNaN(b))
return false; return false;