MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / half2float

Function half2float

include/half/half.hpp:946–949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944 /// \param value binary representation of half-precision value
945 /// \return floating point value
946 template<typename T> T half2float(uint16 value)
947 {
948 return half2float_impl(value, T(), bool_type<std::numeric_limits<T>::is_iec559&&sizeof(typename bits<T>::type)==sizeof(T)>());
949 }
950
951 /// Convert half-precision floating point to integer.
952 /// \tparam R rounding mode to use, `std::round_indeterminate` for fastest rounding

Callers

nothing calls this directly

Calls 1

half2float_implFunction · 0.85

Tested by

no test coverage detected