An ACS library for ZDoom-based ports
fixed ilog(fixed x)
Returns the base-2 logarithm of x.
For a version with fixed-point argument, see log2.