| 2850 | /// \param arg value to cast |
| 2851 | /// \return \a arg converted to destination type |
| 2852 | template<typename T,typename U> T half_cast(U arg) { return half_caster<T,U>::cast(arg); } |
| 2853 | |
| 2854 | /// Cast to or from half-precision floating point number. |
| 2855 | /// This casts between [half](\ref half_float::half) and any built-in arithmetic type. The values are converted |