Create index.js

This commit is contained in:
ThatLinuxFan 2023-11-23 20:42:46 +00:00 committed by GitHub
parent 8104504c9a
commit 7409488119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
index.js Normal file
View file

@ -0,0 +1,8 @@
//wow.
function fastInvSqrt(x) {
var xhalf = 0.5 * x;
var i = x;
i = i * (1.5 - xhalf * i * i);
i = i * (1.5 - xhalf * i * i);
return i;
}