[ANN] floatrange - a range() for floats

Laurent Pointal laurent.pointal at limsi.fr
Mon Sep 21 13:15:38 CEST 2015


Hello,

I'm please to publish a small utility module allowing to produce float based 
range sequences, with I hope a complete range-like interface. Because of 
floating point arithmetic, floatrange allows to specify a precision for 
"equality" when working with operators like 'in'.

It is Python2 and Python3 compatible.

PyPI: https://pypi.python.org/pypi/floatrange/
Doc: http://floatrange.readthedocs.org/
Project: https://perso.limsi.fr/pointal/python:floatrange

Float arithmetic: https://docs.python.org/3/tutorial/floatingpoint.html

A+
Laurent Pointal.



More information about the Python-announce-list mailing list