MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / fast_inverse_sqrt.py

File fast_inverse_sqrt.py

maths/fast_inverse_sqrt.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Fast inverse square root (1/sqrt(x)) using the Quake III algorithm.
3Reference: https://en.wikipedia.org/wiki/Fast_inverse_square_root
4Accuracy: https://en.wikipedia.org/wiki/Fast_inverse_square_root#Accuracy

Callers

nothing calls this directly

Calls 1

fast_inverse_sqrtFunction · 0.85

Tested by

no test coverage detected