Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1865 > unrolled thread

[ANN] floatrange - a range() for floats

Started byLaurent Pointal <laurent.pointal@limsi.fr>
First post2015-09-21 13:15 +0200
Last post2015-09-21 13:15 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  [ANN] floatrange - a range() for floats Laurent Pointal <laurent.pointal@limsi.fr> - 2015-09-21 13:15 +0200

#1865 — [ANN] floatrange - a range() for floats

FromLaurent Pointal <laurent.pointal@limsi.fr>
Date2015-09-21 13:15 +0200
Subject[ANN] floatrange - a range() for floats
Message-ID<mailman.30.1442834509.28679.python-announce-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web