| 1301 | /// \param value half-precision value to convert |
| 1302 | /// \return floating-point value |
| 1303 | template<typename T> T half2float(unsigned int value) |
| 1304 | { |
| 1305 | return half2float_impl(value, T(), bool_type<std::numeric_limits<T>::is_iec559&&sizeof(typename bits<T>::type)==sizeof(T)>()); |
| 1306 | } |
| 1307 | |
| 1308 | /// Convert half-precision floating-point to integer. |
| 1309 | /// \tparam R rounding mode to use |
no test coverage detected