title: Chapel equivalent to numpy `arange` / equivalent C for loop
body: <p>What is the most idiomatic way in Chapel to loop over a series of real numbers with a fixed increment? </p>
  
  <p>The C equivalent code would be:</p>
  
  <pre><code>for (x = 0.0; x&lt;1.0; x+=0.1) {}
  </code></pre>
  
  <p>In Python/Numpy, one might write</p>
  
  <pre><code>x = numpy.arange(0.0, 1.0, 0.1)
  </code></pre>
  
  <hr>
  
  <p>I could imagine writing an iterator as below, but is there an equivalent built into the language/standard modules? (and then of course, there is the question of writing parallel versions of this)</p>
  
  <pre><code>iter arange(start, stop, step) {
    var x = start;
    while (x &lt; stop) {
       yield x;
       x += step;
    }
  }
  </code></pre>