ilogb

fixed ilogb(fixed base, int x)

Description

Returns an arbitrary-base logarithm of x.

For a version with a fixed-point x, see logb.