MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / int_to_float

Function int_to_float

Source/astcenc_vecmathlib_avx2_8.h:989–992  ·  view source on GitHub ↗

* @brief Return a float value for an integer vector. */

Source from the content-addressed store, hash-verified

987 * @brief Return a float value for an integer vector.
988 */
989ASTCENC_SIMD_INLINE vfloat8 int_to_float(vint8 a)
990{
991 return vfloat8(_mm256_cvtepi32_ps(a.m));
992}
993
994/**
995 * @brief Return a float value as an integer bit pattern (i.e. no conversion).

Callers

nothing calls this directly

Calls 1

vfloat8Class · 0.70

Tested by

no test coverage detected