Skip to main content
https://badge.fury.io/py/extended_int.svg

Example

In [0]: from numbers import *

In [0]: from extended_int import *

In [0]: i = IntegerInfinity()

In [4]: float(i)
Out[4]: inf

In [5]: print(i)
inf

In [6]: i ** i

Out[6]: inf

In [7]: i
Out[7]: inf

In [9]: isinstance(i, Real)

Out[9]: True

In [10]: isinstance(i, Integral)

Out[10]: False

In [11]: isinstance(i, Infinite)

Out[11]: True

In [12]: isinstance(i, ExtendedIntegral)

Out[12]: True

In [13]: isinstance(2, ExtendedIntegral)

Out[13]: True

In [14]: isinstance(2, Infinite)

Out[14]: False

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

extended_int-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file extended_int-0.1-py3-none-any.whl.

File metadata

  • Download URL: extended_int-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for extended_int-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bad309f645c1e70ff826e5620da71a5e7f51bfdc873b33585c1324b77ebeec6
MD5 4b54b1d2710dcdb9a6f56ebf1b5dfce8
BLAKE2b-256 df67a92c4bc9b1914b12e2a398896b22b5b45423dc38054b952c064740addaf0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page