title: Dividing negative numbers with floordiv in python
body: <p>I'm confused by the nature of integer division with // or floordiv with negative numbers in python.</p>
  
  <pre><code>&gt;&gt;&gt; -5 // 2
  -3
  &gt;&gt;&gt; int(-5/2)
  -2
  </code></pre>
  
  <p>Why would floordiv() round down to -3? I thought integer division was supposed to simply drop (or lack) the information after the decimal point.</p>