Code center > Darwinbots Program Source Code

The FastInvSqrt function!

<< < (3/3)

Numsgil:
Just so it doesn't seem I was randomly pulling out source code to play with:

The article on inverse square root.

Botsareus:
looks fun  :P

Numsgil:
I think I have a function figured out that's native VB for square root function.

I'm going to see if it's faster or no.

Numsgil:
Nope, the best I can do is a function that's less accurate and just as fast.

Really goes to show the amount of overhead involved in visual basic.  Or the speed of the VB sqr function  :rolleyes:

Navigation

[0] Message Index

[*] Previous page

Go to full version