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
Anaconda Distribution (formerly Anaconda Individual Edition)
Miniconda
Anaconda.org
What happened?
#include<cmath>
#include<type_traits>// this one works as expectedstatic_assert(
std::is_same_v < decltype(std::isinf(std::declval < float > ())), bool > );
// this works, but should notstatic_assert(
std::is_same_v < decltype(std::isinf(std::declval < double > ())), int > );
// this one does not work, but shouldstatic_assert(
std::is_same_v < decltype(std::isinf(std::declval < double > ())), bool > );
Checklist
Impacted product
What happened?
cpp reference (https://en.cppreference.com/w/cpp/numeric/math/isinf):
To create environment:
Exact error:
Expected behavior or outcome
Return type of
std::isinf(double);
mustbool
, notint
Conda info
Conda config
Conda list
Additional information
Latest ubuntu 22.04 gcc package works as expected.
The text was updated successfully, but these errors were encountered: