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

Function int_to_float

Source/astcenc_vecmathlib_sse_4.h:959–962  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

957 * @brief Return a float value for an integer vector.
958 */
959ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a)
960{
961 return vfloat4(_mm_cvtepi32_ps(a.m));
962}
963
964/**
965 * @brief Return a float16 value for a float vector, using round-to-nearest.

Callers

nothing calls this directly

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected