title: Why are logarithms in computer science presumed to be base-2 logarithms?
body: <p>I saw the following in a Computer Science text book,</p>
  
  <p><a href="https://i.stack.imgur.com/rsGDg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rsGDg.png" alt="enter image description here"></a></p>
  
  <p>... so, I was wondering if someone could explain to me why.</p>