You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently calling a floating-point classification/comparison function in <cmath> with an integer value as argument such as std::isnan(42) is ambiguous. And the standard says that sufficient overloads are provided for integer types ([cmath.syn]/2, at least since N3337), so the ambiguity should be resolved.
Overloads of other <cmath> functions for integer types are handled in <cmath>. So overloads of these functions should also be handled in this header.
The text was updated successfully, but these errors were encountered:
Currently calling a floating-point classification/comparison function in
<cmath>
with an integer value as argument such asstd::isnan(42)
is ambiguous. And the standard says that sufficient overloads are provided for integer types ([cmath.syn]/2, at least since N3337), so the ambiguity should be resolved.Overloads of other
<cmath>
functions for integer types are handled in<cmath>
. So overloads of these functions should also be handled in this header.The text was updated successfully, but these errors were encountered: