# Log2 (Integer)

Grammar — Log2(x)
FlagsNative | Function

Returns the log base 2 of a number.

# Arguments

  • fixed — Value

Returns — int

native int Log2I(fixed x);

Category: Math / Arithmetic

# Examples

— None found —