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

Function VecSubScalar

TSSimd.h:749–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747 }
748
749 inline vec_float VecSubScalar(const vec_float& v1, const vec_float& v2)
750 {
751 #if defined(TERATHON_SSE)
752
753 return (_mm_sub_ss(v1, v2));
754
755 #elif defined(TERATHON_NEON)
756
757 return (vsubq_f32(v1, v2));
758
759 #endif
760 }
761
762 inline vec_float VecMul(const vec_float& v1, const vec_float& v2)
763 {

Callers 4

SinMethod · 0.85
CosMethod · 0.85
TanMethod · 0.85
CosSinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected