| 283 | private: |
| 284 | template <typename U = T> |
| 285 | inline typename std::enable_if<std::is_same<U, bfloat16>::value, bfloat16>::type convert(float x) |
| 286 | { |
| 287 | return bfloat16(x, _portable); |
| 288 | } |
| 289 | |
| 290 | template <typename U = T> |
| 291 | inline typename std::enable_if<!std::is_same<U, bfloat16>::value, T>::type convert(float x) |