[Bug libstdc++/112498] New: std::is_convertible<float, _Float16>::value returns false
josopait at goopax dot com
gcc-bugzilla@gcc.gnu.org
Sun Nov 12 22:28:43 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112498
Bug ID: 112498
Summary: std::is_convertible<float, _Float16>::value returns
false
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: josopait at goopax dot com
Target Milestone: ---
If I am not mistaken, this should succeed:
#include <type_traits>
int main()
{
static_assert(std::is_convertible<double, float>::value); // ok
static_assert(std::is_convertible<float, _Float16>::value); // fails
}
More information about the Gcc-bugs
mailing list