title: Is there an efficient way to calculate ceiling of log_b(a)?
body: <p>I need to accurately calculate <a href="https://i.stack.imgur.com/NBXnh.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NBXnh.gif" alt="ceil(log_b(a))" /></a> where <strong>a</strong> and <strong>b</strong>
  are both integers. If I simply use typical change of base formula with floating point math functions I wind up with errors due to rounding error.</p>