<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/floatrange/home/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 20 Nov 2011 16:47:59 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/floatrange/home/Home/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Home modified by Laurent Pointal</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -4,35 +4,44 @@
 floatrange
 ==========
 
-floatrange is a Python module which mimics Python's builtin range() with support of float values (range() only works with int values).
-It works with Python 2 and Python 3.
-
+**`floatrange`** is a Python module which mimics Python's builtin [`range()`](http://docs.python.org/library/functions.html#range) function with support of float values (Python range() builtin only works with int values).  As for [`range()`](http://docs.python.org/tutorial/controlflow.html#the-range-function), the given _stop_ value is not in the generated sequence. 
+
+Its primary usage is in [_`for`_](http://docs.python.org/tutorial/controlflow.html#for-statements) loops on arithmetic progression of non-integer values. For operations like _contains_ test (Python `in` operator), computation of value _`index`_, and _`count`_ of value occurences in a floatrange, a precision parameter allows to limit [problems with floating point computation](http://docs.python.org/tutorial/floatingpoint.html). 
+
+It works as is with Python 2 and Python 3.
+
 Example from source documentation:
 
     &gt;&gt;&gt; from floatrange import floatrange
     &gt;&gt;&gt; floatrange(5)
     floatrange(0.0, 5.0, 1.0)
     &gt;&gt;&gt; list(floatrange(5))
     [0.0, 1.0, 2.0, 3.0, 4.0]
     &gt;&gt;&gt; list(floatrange(3.2,5.4,0.2))
     [3.2, 3.4000000000000004, 3.6, 3.8000000000000003, 4.0, 4.2, 4.4,     4.6000000000000005, 4.800000000000001, 5.0, 5.2]
     &gt;&gt;&gt; list(floatrange(-6,-8,-0.3))
     [-6.0, -6.3, -6.6, -6.9, -7.2, -7.5, -7.8]
     &gt;&gt;&gt; 6 in floatrange(1,8)
     True
     &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.2)
     True
     &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.05)
     False
     &gt;&gt;&gt; list(reversed(floatrange(5)))
     [4.0, 3.0, 2.0, 1.0, 0.0]
     &gt;&gt;&gt; list(floatrange(10.1,9.7,-0.1))
     [10.1, 10.0, 9.9, 9.799999999999999]
 
 
 Other solution
 --------------
 
-If you have the [scipy's numpy](http://docs.scipy.org/doc/) package installed, see [numpy.arange](http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html#numpy-arange) and [numpy.linspace](http://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html?highlight=linspace#numpy.linspace). 
+If you have the [scipy's numpy](http://docs.scipy.org/doc/) package installed, see [`numpy.arange()`](http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html#numpy-arange) and [`numpy.linspace()`](http://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html?highlight=linspace#numpy.linspace). If you have heavy computation, this is the way to go. 
+
+Note these differences between _numpy functions_ and _floatrange_:
+
+* floatrange generate values when needed, like range.
+* floatrange has a precision parameter `prec` to deal with inaccurate floating point computation.
+* floatrange is a pure Python module.
 
 And searching for _Python float range_, or _frange_ will give you other solutions (see also comments on these solutions when available).
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Pointal</dc:creator><pubDate>Sun, 20 Nov 2011 16:47:59 -0000</pubDate><guid>https://sourceforge.net70f0c6a31f8e2fe669f73c6dcfd998f9b71d16f7</guid></item><item><title>WikiPage Home modified by Laurent Pointal</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -7,15 +7,17 @@
 floatrange is a Python module which mimics Python's builtin range() with support of float values (range() only works with int values).
 It works with Python 2 and Python 3.
 
-Example:
+Example from source documentation:
 
     &gt;&gt;&gt; from floatrange import floatrange
     &gt;&gt;&gt; floatrange(5)
     floatrange(0.0, 5.0, 1.0)
     &gt;&gt;&gt; list(floatrange(5))
     [0.0, 1.0, 2.0, 3.0, 4.0]
     &gt;&gt;&gt; list(floatrange(3.2,5.4,0.2))
     [3.2, 3.4000000000000004, 3.6, 3.8000000000000003, 4.0, 4.2, 4.4,     4.6000000000000005, 4.800000000000001, 5.0, 5.2]
+    &gt;&gt;&gt; list(floatrange(-6,-8,-0.3))
+    [-6.0, -6.3, -6.6, -6.9, -7.2, -7.5, -7.8]
     &gt;&gt;&gt; 6 in floatrange(1,8)
     True
     &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.2)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Pointal</dc:creator><pubDate>Fri, 18 Nov 2011 21:14:37 -0000</pubDate><guid>https://sourceforge.net426ffe5064dce2a52e2fa40fd97c93422cbfdc6c</guid></item><item><title>WikiPage Home modified by Laurent Pointal</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -4,31 +4,33 @@
 floatrange
 ==========
 
-floatrange is a Python 3 module which mimics Python's builtin range() with support of float values (range() only works with int values).
-
-
+floatrange is a Python module which mimics Python's builtin range() with support of float values (range() only works with int values).
+It works with Python 2 and Python 3.
+
+Example:
+
     &gt;&gt;&gt; from floatrange import floatrange
     &gt;&gt;&gt; floatrange(5)
     floatrange(0.0, 5.0, 1.0)
     &gt;&gt;&gt; list(floatrange(5))
     [0.0, 1.0, 2.0, 3.0, 4.0]
     &gt;&gt;&gt; list(floatrange(3.2,5.4,0.2))
     [3.2, 3.4000000000000004, 3.6, 3.8000000000000003, 4.0, 4.2, 4.4,     4.6000000000000005, 4.800000000000001, 5.0, 5.2]
     &gt;&gt;&gt; 6 in floatrange(1,8)
     True
     &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.2)
     True
     &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.05)
     False
     &gt;&gt;&gt; list(reversed(floatrange(5)))
     [4.0, 3.0, 2.0, 1.0, 0.0]
     &gt;&gt;&gt; list(floatrange(10.1,9.7,-0.1))
     [10.1, 10.0, 9.9, 9.799999999999999]
 
 
 Other solution
 --------------
 
-If you have the [scipy's numpy](http://docs.scipy.org/doc/) package installed, see [numpy.arange](http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html#numpy-arange) and [numpy.linspace](http://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html?highlight=linspace#numpy.linspace)
-
-And searching for Python float range, or frange will give you other solutions (see also comments on these solutions when available).
+If you have the [scipy's numpy](http://docs.scipy.org/doc/) package installed, see [numpy.arange](http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html#numpy-arange) and [numpy.linspace](http://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html?highlight=linspace#numpy.linspace). 
+
+And searching for _Python float range_, or _frange_ will give you other solutions (see also comments on these solutions when available).
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Pointal</dc:creator><pubDate>Fri, 18 Nov 2011 20:59:50 -0000</pubDate><guid>https://sourceforge.net5791a2454054cf56e5fef0fd5799e12389fe26e9</guid></item><item><title>WikiPage Home modified by Laurent Pointal</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -24,3 +24,11 @@
     [4.0, 3.0, 2.0, 1.0, 0.0]
     &gt;&gt;&gt; list(floatrange(10.1,9.7,-0.1))
     [10.1, 10.0, 9.9, 9.799999999999999]
+
+
+Other solution
+--------------
+
+If you have the [scipy's numpy](http://docs.scipy.org/doc/) package installed, see [numpy.arange](http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html#numpy-arange) and [numpy.linspace](http://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html?highlight=linspace#numpy.linspace)
+
+And searching for Python float range, or frange will give you other solutions (see also comments on these solutions when available).
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Pointal</dc:creator><pubDate>Wed, 16 Nov 2011 22:34:05 -0000</pubDate><guid>https://sourceforge.net6ec268d96a8fc33a612a788c6e9904db14e4e875</guid></item><item><title>WikiPage Home modified by Laurent Pointal</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -1,5 +1,26 @@
-Welcome to your wiki!
-
-This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].
-
-The wiki uses [Markdown](/p/floatrange/home/markdown_syntax/) syntax.
+[[project_admins]]
+[[download_button]]
+
+floatrange
+==========
+
+floatrange is a Python 3 module which mimics Python's builtin range() with support of float values (range() only works with int values).
+
+
+    &gt;&gt;&gt; from floatrange import floatrange
+    &gt;&gt;&gt; floatrange(5)
+    floatrange(0.0, 5.0, 1.0)
+    &gt;&gt;&gt; list(floatrange(5))
+    [0.0, 1.0, 2.0, 3.0, 4.0]
+    &gt;&gt;&gt; list(floatrange(3.2,5.4,0.2))
+    [3.2, 3.4000000000000004, 3.6, 3.8000000000000003, 4.0, 4.2, 4.4,     4.6000000000000005, 4.800000000000001, 5.0, 5.2]
+    &gt;&gt;&gt; 6 in floatrange(1,8)
+    True
+    &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.2)
+    True
+    &gt;&gt;&gt; 6.1 in floatrange(1,8,1,prec=0.05)
+    False
+    &gt;&gt;&gt; list(reversed(floatrange(5)))
+    [4.0, 3.0, 2.0, 1.0, 0.0]
+    &gt;&gt;&gt; list(floatrange(10.1,9.7,-0.1))
+    [10.1, 10.0, 9.9, 9.799999999999999]
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Pointal</dc:creator><pubDate>Wed, 16 Nov 2011 21:21:30 -0000</pubDate><guid>https://sourceforge.netcb9a52ef3dd07a602d2bae6c2299038b443172f7</guid></item><item><title>WikiPage Home modified by Laurent Pointal</title><link>https://sourceforge.net/p/floatrange/home/Home/</link><description>Welcome to your wiki!

This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses [Markdown](/p/floatrange/home/markdown_syntax/) syntax.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Pointal</dc:creator><pubDate>Wed, 16 Nov 2011 19:04:01 -0000</pubDate><guid>https://sourceforge.netcde3adfc2c65c3c29c39a9765f783233619f02ab</guid></item></channel></rss>