literal Namespace Reference#
half_float::literal Namespace Reference
Library-defined half-precision literals. More...
Functions | |
half | operator""_h (long double value) |
Half literal. More... | |
Detailed Description
Library-defined half-precision literals.
Import this namespace to enable half-precision floating point literals:
using namespace half_float::literal;
half_float::half = 4.2_h;
Function Documentation
◆ operator""_h()
|
inline |