MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecMinScalar

Function VecMinScalar

TSSimd.h:645–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643 }
644
645 inline vec_float VecMinScalar(const vec_float& v1, const vec_float& v2)
646 {
647 #if defined(TERATHON_SSE)
648
649 return (_mm_min_ss(v1, v2));
650
651 #elif defined(TERATHON_NEON)
652
653 return (vminq_f32(v1, v2));
654
655 #endif
656 }
657
658 inline vec_float VecMax(const vec_float& v1, const vec_float& v2)
659 {

Callers 4

FminFunction · 0.85
FminZeroFunction · 0.85
SaturateFunction · 0.85
ClampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected