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