expr Struct Reference#
half_float::detail::expr Struct Reference
Temporary half-precision expression. More...
#include <half.hpp>
Public Member Functions | |
constexpr | expr (float f) noexcept |
Conversion constructor. More... | |
constexpr | operator float () const noexcept |
Conversion to single-precision. More... | |
Private Attributes | |
float | value_ |
Internal expression value stored in single-precision. | |
Detailed Description
Temporary half-precision expression.
This class represents a half-precision expression which just stores a single-precision value internally.
Constructor & Destructor Documentation
◆ expr()
|
inlineexplicitconstexprnoexcept |
Member Function Documentation
◆ operator float()
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-half/checkouts/latest/include/half.hpp