Update index.js

This commit is contained in:
Samuel Lord 2024-01-27 15:47:09 -06:00 committed by GitHub
parent 34926fc2f4
commit f7a03a6c33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,6 @@ function fastInverseSqrt(number) {
y = Math.abs(y); y = Math.abs(y);
y = (y / 1000000000000000000); y = (y / 1000000000000000000);
y = Math.round(y * 100) / 100; y = Math.round(y * 100) / 100;
y = y - .1; y = y - ((Math.floor(y) / 10) / 2);
return y; return y;
} }