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 Distribution

extended_int-0.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distributions

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

extended_int-0.3-py3.7.egg (6.4 kB view details)

Uploaded Egg

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

Uploaded Python 3

File details

Details for the file extended_int-0.3.tar.gz.

File metadata

  • Download URL: extended_int-0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • 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.3.tar.gz
Algorithm Hash digest
SHA256 2fac73b551fd1b910c83ba88c50e0c96db1766aee0ffa677219c542bbd5128b6
MD5 3d7ad8d96f365bf1aa30bc4b69c2ca8e
BLAKE2b-256 5657db4522a97c6fd8d6c7bd06032cd28f7e293c241d8408a2a87211abe52d15

See more details on using hashes here.

File details

Details for the file extended_int-0.3-py3.7.egg.

File metadata

  • Download URL: extended_int-0.3-py3.7.egg
  • Upload date:
  • Size: 6.4 kB
  • Tags: Egg
  • 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.3-py3.7.egg
Algorithm Hash digest
SHA256 36fe2f0d5693d64d2d60b518a786ee2a30c50de61733de418c400f14dbefa6c0
MD5 5d2e8498b275ee89beec46c75c5874c3
BLAKE2b-256 cdf2874b737ff17a2efcb778cedd6b12379057fd754ab36f7d083610bd5d614b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: extended_int-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cac4e45b871f8209d0ec7554d41408e590c9bead50850156341791befce15afc
MD5 b0e343f3a4a64254d734fed901fe05e9
BLAKE2b-256 4f6b0bbd14235937732709fd9ac9d67b918aa7345daf330fe38e185af85d7b8f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7

2 files

0.6

1 file

0.5

3 files

0.4

2 files

This release

0.3 This release

3 files

0.2

2 files

0.1

1 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