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

Function operator /

TSSimd.h:868–881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866 }
867
868 inline vec_float operator /(const vec_float& v1, const vec_float& v2)
869 {
870 #if defined(TERATHON_SSE)
871
872 return (_mm_div_ps(v1, v2));
873
874 #elif defined(TERATHON_NEON)
875
876 vec_float f = vrecpeq_f32(v2);
877 f = vmulq_f32(f, vrecpsq_f32(v2, f));
878 return (vmulq_f32(v1, f));
879
880 #endif
881 }
882
883 inline vec_float VecDivScalar(const vec_float& v1, const vec_float& v2)
884 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected