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

Function clampzo

Source/astcenc_vecmathlib_rvv_n.h:757–760  ·  view source on GitHub ↗

* @brief Return a clamped value between 0.0f and 1.0f. * * If @c a is NaN then zero will be returned for that lane. */

Source from the content-addressed store, hash-verified

755 * If @c a is NaN then zero will be returned for that lane.
756 */
757ASTCENC_SIMD_INLINE vfloat clampzo(vfloat a)
758{
759 return clamp(0.0f, 1.0f, a);
760}
761
762/**
763 * @brief Return the absolute value of the float vector.

Callers

nothing calls this directly

Calls 1

clampFunction · 0.70

Tested by

no test coverage detected