An ACS library for ZDoom-based ports
This is an old revision of the document!
fixed ilog2(fixed x)
Returns the base-2 logarithm of x.
For a version with fixed-point argument, see log2.