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

Function Sqrt

TSDualNum.h:269–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 DualNum Sqrt(const DualNum& d)
270 {
271 float a = InverseSqrt(d.s);
272 return (DualNum(d.s * a, d.t * (a * 0.5F)));
273 }
274
275 DualNum InverseSqrt(const DualNum& d)
276 {

Callers 10

MagnitudeFunction · 0.85
MagnitudeFunction · 0.85
MagnitudeFunction · 0.85
ArccosMethod · 0.85
MagnitudeFunction · 0.85
TSFlector3D.cppFile · 0.85
TSQuaternion.cppFile · 0.85
TSFlector2D.cppFile · 0.85
TSMotor2D.cppFile · 0.85
MagnitudeFunction · 0.85

Calls 2

InverseSqrtFunction · 0.85
DualNumClass · 0.85

Tested by

no test coverage detected