ilogb

Convert "a" to a normalized fraction in the range \[1,2\) times a power of two, and return the exponent value as an integer. This is equivalent to lrint(floor(log2(fabs(a)))) but it is computed more efficiently. Returns the constants documented in the man page for zero, infinity, or NaN.

nothrow
int
ilogb

Meta