Update math/inv_sqrt.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Bensuperpc 2021-08-27 18:47:20 +02:00 committed by GitHub
parent 2ca08fe23e
commit 42958bcedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,10 @@ T Standard_InvSqrt(T number) {
return 1.0f / squareRoot;
}
/** main function */
/**
* @brief Main function
* @returns 0 on exit
*/
int main() {
std::cout << "The Fast inverse square root of 36 is: "
<< Fast_InvSqrt<float, 1>(36.0f) << std::endl;