Doubt in maximum number of bits in any number N

In one of the previous video. he explained that maximum number of bits in any number N is LogN + 1. & now in this video he is saying that it’s LogN.

Request you to please clear this.

hello @gambhirrahul0

it is floor (log N) +1