Half literal. While this returns an actual half-precision value, half literals can unfortunately not be constant expressions due to rather involved conversions. \param value literal value \return half with given value (if representable)
| 1210 | /// \param value literal value |
| 1211 | /// \return half with given value (if representable) |
| 1212 | inline half operator""_h(long double value) { return half(detail::binary, detail::float2half<half::round_style>(value)); } |
| 1213 | } |
| 1214 | #endif |
| 1215 |