Menu

Tree [455405] default tip /
 History

Read Only access


File Date Author Commit
 doc 2015-09-08 Laurent Pointal Laurent Pointal [6f8ff9] Gone version 1.0 to avoid -pre on PyPI.
 README.txt 2015-09-08 Laurent Pointal Laurent Pointal [73f722] Missing one version change.
 floatrange.py 2015-09-13 Laurent Pointal Laurent Pointal [455405] Missing right 1.0 version in main source.
 setup.py 2015-09-08 Laurent Pointal Laurent Pointal [6f8ff9] Gone version 1.0 to avoid -pre on PyPI.

Read Me

floatrange
==========

:author: Laurent Pointal <laurent.pointal@laposte.net>
:copyright: Laurent Pointal - 2011-2015
:license: MIT
:version: 1.0

`Module documentation <http://floatrange.readthedocs.org/>`_

`Mercurial repository & bug tracking <http://sourceforge.net/projects/floatrange/>`_
(on SourceForge).

`Developer page <https://perso.limsi.fr/pointal/python:floatrange>`_

What is it?
-----------

A simple module providing a ``floatrange()`` to build generators
providing a range like interface for floating point numbers.
As floating point computation may not be exact, these generators
support a precision ``prec`` parameter to define how near a value
correspond to a value in the range.

Installation
------------

Unless someone built a package for your OS distro, the simplest procedure
is to use ``pip`` to install the module:

    pip install floatrange

If you have no admin access to install things on you computer, you may install
a virtualenv and run pip inside this virtual env, or you can do a local user
installation:

    pip install --user floatrange

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.