Skip to main content

Support of range() generator with floats.

Project description

Author:

Laurent Pointal <laurent.pointal@laposte.net>

license:

MIT

Version:
1.0

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

floatrange-1.0.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file floatrange-1.0.tar.gz.

File metadata

  • Download URL: floatrange-1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for floatrange-1.0.tar.gz
Algorithm Hash digest
SHA256 f981d507e8d9f62e7c5f3474144ac97ae9aa719df7bbce9d12a20d345a044588
MD5 e0e55e0056e104e0d18b3eb39291dcc4
BLAKE2b-256 b86ea9826b363ef91e38820e0cb38767d84dc19dcdc8766eff0c9b10d3148b59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page