@[irreducible, extern lean_nat_log2]
Base-two logarithm of natural numbers. Returns ⌊max 0 (log₂ n)⌋
.
This function is overridden at runtime with an efficient implementation. This definition is the logical model.
Examples:
Base-two logarithm of natural numbers. Returns ⌊max 0 (log₂ n)⌋
.
This function is overridden at runtime with an efficient implementation. This definition is the logical model.
Examples: