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

Function int_to_float

Source/astcenc_vecmathlib_neon_4.h:890–893  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

888 * @brief Return a float value for an integer vector.
889 */
890ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a)
891{
892 return vfloat4(vcvtq_f32_s32(a.m));
893}
894
895/**
896 * @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