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

Function round

Source/astcenc_vecmathlib_neon_4.h:766–769  ·  view source on GitHub ↗

* @brief Return a float rounded to the nearest integer value. */

Source from the content-addressed store, hash-verified

764 * @brief Return a float rounded to the nearest integer value.
765 */
766ASTCENC_SIMD_INLINE vfloat4 round(vfloat4 a)
767{
768 return vfloat4(vrndnq_f32(a.m));
769}
770
771/**
772 * @brief Return the horizontal minimum of a vector.

Callers

nothing calls this directly

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected