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

Function int_to_float

Source/astcenc_vecmathlib_rvv_n.h:965–968  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

963 * @brief Return a float value for an integer vector.
964 */
965ASTCENC_SIMD_INLINE vfloat int_to_float(vint a)
966{
967 return vfloat(__riscv_vfcvt_f(a.m, vfloat::vl()));
968}
969
970/**
971 * @brief Return a float value as an integer bit pattern (i.e. no conversion).

Callers

nothing calls this directly

Calls 1

vfloatClass · 0.85

Tested by

no test coverage detected