fn ilogb(x: anytype) i32

Returns the binary exponent of x as an integer.

Special Cases:

  • ilogb(+-inf) = maxInt(i32)
  • ilogb(+-0) = minInt(i32)
  • ilogb(nan) = minInt(i32)

Parameters

x: anytype,