Update math/inv_sqrt.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Bensuperpc 2021-08-29 17:14:10 +02:00 committed by GitHub
parent f476e1dbb4
commit f56bcf86ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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