| 1062 | /// \exception FE_UNDERFLOW on underflows |
| 1063 | /// \exception FE_INEXACT if value had to be rounded |
| 1064 | template<std::float_round_style R,typename T> unsigned int float2half(T value) |
| 1065 | { |
| 1066 | return float2half_impl<R>(value, bool_type<std::numeric_limits<T>::is_iec559&&sizeof(typename bits<T>::type)==sizeof(T)>()); |
| 1067 | } |
| 1068 | |
| 1069 | /// Convert integer to half-precision floating-point. |
| 1070 | /// \tparam R rounding mode to use |
no outgoing calls
no test coverage detected