title: python numpy arange unexpected results
body: <p>I am using the arange function to define my for loop iterations and getting unexpected results.</p>
  
  <pre><code>i = arange(7.8,8.4,0.05)
  print i
  </code></pre>
  
  <p>yeilds the following:</p>
  
  <pre><code>[ 7.8   7.85  7.9   7.95  8.    8.05  8.1   8.15  8.2   8.25  8.3   8.35 8.4 ]
  </code></pre>
  
  <p>yet using the stop value of 8.35 as follows</p>
  
  <pre><code>i = arange(7.8,8.35,0.05)
  </code></pre>
  
  <p>yields the following</p>
  
  <pre><code>[ 7.8   7.85  7.9   7.95  8.    8.05  8.1   8.15  8.2   8.25  8.3 ]
  </code></pre>
  
  <p>But I want my range to end at 8.35!  I know I can use the stop value of > 8.35 and &lt; 8.4 to achieve my result, but why is it different and in my mind, inconsistent?</p>
  
  <p>Edit: I am using version 2.7</p>