Function ilogb [src]
Alias for std.math.ilogb.ilogb
Returns the binary exponent of x as an integer.
Special Cases:
ilogb(+-inf) = maxInt(i32)
ilogb(+-0) = minInt(i32)
ilogb(nan) = minInt(i32)
Prototype
pub fn ilogb(x: anytype) i32
Source
pub fn ilogb(x: anytype) i32 {
const T = @TypeOf(x);
return ilogbX(T, x);
}