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

Function min

Source/astcenc_vecmathlib_common_4.h:204–207  ·  view source on GitHub ↗

* @brief Return the min vector of a vector and a scalar. * * If either lane value is NaN, @c b will be returned for that lane. */

Source from the content-addressed store, hash-verified

202 * If either lane value is NaN, @c b will be returned for that lane.
203 */
204ASTCENC_SIMD_INLINE vfloat4 min(vfloat4 a, float b)
205{
206 return min(a, vfloat4(b));
207}
208
209/**
210 * @brief Return the max vector of a vector and a scalar.

Callers 2

clampFunction · 0.70
clampzoFunction · 0.70

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected