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

Function VecNmsub

TSSimd.h:827–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

825 }
826
827 inline vec_float VecNmsub(const vec_float& v1, const vec_float& v2, const vec_float& v3)
828 {
829 #if defined(TERATHON_SSE)
830
831 return (_mm_sub_ps(v3, _mm_mul_ps(v1, v2)));
832
833 #elif defined(TERATHON_NEON)
834
835 return (vfmsq_f32(v3, v1, v2));
836
837 #endif
838 }
839
840 inline vec_float VecNmsubScalar(const vec_float& v1, const vec_float& v2, const vec_float& v3)
841 {

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected