Skip to main content


Project description

inf is missing from Python’s builtins. This module adds it:

import inf

# inf is now float(“+inf”)

inf.div(10.0, 0.0) # Correctly returns inf.


2013-10-21 Release 1.1.0

Added the inf.div function for IEEE division.

2013-10-10 Release 1.0.0

Project details

Download files

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

Files for inf, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size inf-1.1.1.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page