mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update math/inv_sqrt.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
f476e1dbb4
commit
f56bcf86ef
@ -43,8 +43,8 @@ inline T Fast_InvSqrt(T x) {
|
|||||||
/**
|
/**
|
||||||
* @brief This is the function that calculates the fast inverse square root.
|
* @brief This is the function that calculates the fast inverse square root.
|
||||||
* The following code is the fast inverse square root with standard lib (cmath)
|
* The following code is the fast inverse square root with standard lib (cmath)
|
||||||
* More info:
|
* More information can be found at
|
||||||
* https://www.linkedin.com/pulse/fast-inverse-square-root-still-armin-kassemi-langroodi
|
* [LinkedIn](https://www.linkedin.com/pulse/fast-inverse-square-root-still-armin-kassemi-langroodi)
|
||||||
* @tparam T floating type
|
* @tparam T floating type
|
||||||
* @param x value to calculate
|
* @param x value to calculate
|
||||||
* @return T return inverse square root
|
* @return T return inverse square root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user