skip to navigation
skip to content

floatrange 1.0

Support of range() generator with floats.

Module documentation

Mercurial repository & bug tracking (on SourceForge).

Developer page

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
 
File Type Py Version Uploaded on Size
floatrange-1.0.tar.gz (md5) Source 2015-09-08 6KB