title: ceil function with high precision
body: <p>How do I round up a number to the next integer with a high precision?</p>
  
  <pre><code>Input: var1 = (8193/4096) # var1 = 2.00024414063
  Output: 3 # As an integer
  
  &gt;&gt;&gt; var1 = 8193/4096
  &gt;&gt;&gt; import math
  &gt;&gt;&gt; math.ceil(var1)
  2.0
  &gt;&gt;&gt; math.ceil(8193/4096)
  2.0
  &gt;&gt;&gt; import numpy
  &gt;&gt;&gt; numpy.ceil(8193/4096)
  </code></pre>
  
  <p>How can I elegantly do this operation?</p>