Searched refs:hex_float (Results 1 – 9 of 9) sorted by relevance
41 uint16_t FloatSign(const uint32_t hex_float) { in FloatSign() argument42 return static_cast<uint16_t>(hex_float >> 31U); in FloatSign()46 uint16_t FloatExponent(const uint32_t hex_float) { in FloatExponent() argument47 uint32_t exponent_bits = ((hex_float >> 23U) & ((1U << 8U) - 1U)); in FloatExponent()59 uint32_t FloatMantissa(const uint32_t hex_float) { in FloatMantissa() argument60 return static_cast<uint32_t>(hex_float & ((1U << 23U) - 1U)); in FloatMantissa()79 float hex_float; in HexFloat16ToFloat() local82 memcpy(&hex_float, &hex, sizeof(float)); in HexFloat16ToFloat()83 return hex_float; in HexFloat16ToFloat()96 float hex_float; in HexFloat11ToFloat() local[all …]
56 hex_float.h
177 "SPIRV/hex_float.h",
121 "SPIRV/hex_float.h",
226 ${CMAKE_CURRENT_SOURCE_DIR}/util/hex_float.h
228 ${CMAKE_CURRENT_SOURCE_DIR}/util/hex_float.h
451 "source/util/hex_float.h",