MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xsqrtfast

Function xsqrtfast

src/SB/Core/x/xCollide.cpp:1567–1570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1565 guess = 0.5 * guess * -(guess * guess * x - 3);
1566 guess = 0.5 * guess * -(guess * guess * x - 3);
1567 guess = 0.5 * guess * -(guess * guess * x - 3);
1568 return x * guess;
1569 }
1570 else
1571 {
1572 return x;
1573 }

Callers 7

VelSet_ShinyMethod · 0.85
xVec3DistFastFunction · 0.85
xVec3LengthFastFunction · 0.85
xSweptSphereToTriangleFunction · 0.85
xSweptSphereToBoxFunction · 0.85
xSweptSphereToModelFunction · 0.85
xVec3NormalizeFastFunction · 0.85

Calls 1

sqrtfFunction · 0.50

Tested by

no test coverage detected