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

Function VecSqrt

TSSimd.h:1142–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140 }
1141
1142 inline vec_float VecSqrt(const vec_float& v)
1143 {
1144 vec_float mask = VecMaskCmpeq(v, VecFloatGetZero());
1145 return (VecAndc(VecMul(VecInverseSqrt(v), v), mask));
1146 }
1147
1148 inline vec_float VecSqrtScalar(const vec_float& v)
1149 {

Callers

nothing calls this directly

Calls 5

VecMaskCmpeqFunction · 0.85
VecFloatGetZeroFunction · 0.85
VecAndcFunction · 0.85
VecMulFunction · 0.85
VecInverseSqrtFunction · 0.85

Tested by

no test coverage detected