Skip to main content

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.

CHANGELOG


2013-10-21 Release 1.1.0

Added the inf.div function for IEEE division.

2013-10-10 Release 1.0.0

Release files for inf 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inf 1.1.1
File Size Uploaded
inf-1.1.1.tar.gz 1.3 kB Details

Release files / inf-1.1.1.tar.gz

Download URL inf-1.1.1.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7ca322bcafd64824ded3417752919713db14a1905980a459b44ef86ac8ea95a0
BLAKE2b-256 checksum
How to use checksums
a08b6e8b3c9bb51540de6effdc4c2063848f261a33c1232b15954aa75efc1ad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page