Update math/inv_sqrt.cpp

Update comment

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Bensuperpc 2021-08-27 18:46:19 +02:00 committed by GitHub
parent 48a3577064
commit ed4ecad4c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
* This is the function that calculate Fast inverse square root.
* The following code is the fast inverse square root implementation from Quake
* III Arena (Adapted for C++)
* More info: https://en.wikipedia.org/wiki/Fast_inverse_square_root
* More information can be found at [Wikipedia](https://en.wikipedia.org/wiki/Fast_inverse_square_root)
* @tparam T floating type
* @tparam iterations inverse square root, the greater the number of iterations,
* the more exact the result will be (1 or 2).