Skip to main content

A complexint class, for using large complex numbers which exceed the precision offered by the builtin complex which uses doubles.

Project description

This library provides a complexint class.

This class acts just like Python's built-in complex except it is backed by Python integers instead of doubles. This allows for infinite precision.

Example

from complexint import complexint

a = complexint(1, 2)
b = complexint(3, 6)

c = a * b
print(c)  # Outputs "-9+12j"

Project details


Download files

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

Source Distribution

complexint-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

complexint-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file complexint-0.0.1.tar.gz.

File metadata

  • Download URL: complexint-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for complexint-0.0.1.tar.gz
Algorithm Hash digest
SHA256 68f01daf9e08a45fbaa44fcb4c96c9019e8558db1c8f0f2f1e8bd58155472452
MD5 371d49f3f1f75964b7fa1561b8cc221a
BLAKE2b-256 dc8dd3e16fc6be74695e476cadbc78ddfbed26c2644d589100e8bb8d2b42e821

See more details on using hashes here.

File details

Details for the file complexint-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: complexint-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for complexint-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22e006e8ef551ec145f292539e47902ce47f89cbfc216c4034b1339f03db945d
MD5 6d15e1ba32b117a00092a4d902b3705c
BLAKE2b-256 879ef2fca8894f4617eb36a5a8079c35b5edff3ff98d66413f0b665933e4b197

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 Pingdom Monitoring Sentry Error logging StatusPage Status page