MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / half_cast

Function half_cast

extern/half/include/half.hpp:2852–2852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

castFunction · 0.50

Tested by

no test coverage detected