Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #1865
| From | Laurent Pointal <laurent.pointal@limsi.fr> |
|---|---|
| Subject | [ANN] floatrange - a range() for floats |
| Date | 2015-09-21 13:15 +0200 |
| Organization | LIMSI |
| Newsgroups | comp.lang.python.announce |
| Message-ID | <mailman.30.1442834509.28679.python-announce-list@python.org> (permalink) |
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.
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
[ANN] floatrange - a range() for floats Laurent Pointal <laurent.pointal@limsi.fr> - 2015-09-21 13:15 +0200
csiph-web