Vocabulary
math

Inputs
xa positive integer


Outputs
nan integer


Word description
Outputs the largest integer n such that 2^n is less than or equal to x.

Errors
Throws an error if x is zero or negative.

Definition