Details
-
User Story
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
-
None
-
c86cf385d (dev), 2d4db1bff (6.5), 3a9bbf235 (6.6)
Description
... but it isn't:
contexpr qfloat16 f16 = 42.f; // ERROR: not a constant expression
I realize that the conversion depends on some tables, but if consteval or std::is_constant_evaluated() may allow to have an alternative implementation that is constexpr. Maybe an algorithmic one that would be too slow for runtime?
Attachments
Issue Links
- relates to
-
QTBUG-108341 Add support for std::numbers::e_v<qfloat16> etc
-
- Open
-