fixed log2i to use parentheses around n
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Sep 2003 20:58:33 +0000 (20:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Sep 2003 20:58:33 +0000 (20:58 +0000)
commite6db8e5c2fca35f2efba5c0dd8f5d5fe1094af33
tree9efda0fe97205456b373d6fdaa6277ac98b06a34
parent8ddb66ffbe37b9fabd2cb30f36b7435deb3e9965
fixed log2i to use parentheses around n
changed bit2i to use log2i((n) << 1)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3457 d7cf8633-e32d-0410-b094-e92efae38249
mathlib.h