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

Metadata

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 Provenance
inf-1.1.1.tar.gz 1.3 kB Without provenance 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

Security for inf 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file No provenance

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