2010-07-30, 03:06 AM
shouri Wrote:Gotta admit though... I'm a complete nerd. The moment I saw that number... before properly counting the zeros: "hey! isn't that 1/9,999,999".
So... question... what the hell's up with such a weird number being used here 0.o
Coder types
a = x/9999999
Compiler converts this to
a = x*0.000000100000010000001
Multiplication is a much faster operation than division. Why they do 9999999? Same reason damage cap is 199,999 I guess... they just like 9s.

