Skip to main content

ASqrtC is a fast and accurate square root calculator with no size limit. It delivers exact results to any specified number of decimal places. ASqrtC outperforms Python’s built-in math and decimal modules in both speed and accuracy for large and high-precision calculations.

Project description

Accurate-Sqrt-Calculator (ASqrtC)

ASqrtC is a fast and accurate square root calculator with no size limit. It delivers exact results to any specified number of decimal places. ASqrtC outperforms Python’s built-in math and decimal modules in both speed and accuracy for large and high-precision calculations.

How to Use

  1. Install the package using pip.
  2. Import it in your script.
  3. Call ASqrtC.sqrt(number, decimal_places) — replacing number with the value you want the square root of, and decimal_places with how many digits after the decimal you'd like.
  4. That’s it! It’s that easy.

If You Receive An Error Like:

ValueError: Exceeds the limit (4300 digits) for integer string conversion: value has 4301 digits

Then Add The Following Code to the Top of Your Project:

import sys
sys.set_int_max_str_digits(0)

This removes Python’s built-in limit on large integer string conversions.

Note: This project does not support negative, imaginary, or complex numbers.

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

asqrtc-2.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

asqrtc-2.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file asqrtc-2.1.1.tar.gz.

File metadata

  • Download URL: asqrtc-2.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for asqrtc-2.1.1.tar.gz
Algorithm Hash digest
SHA256 6ff6c28f20a6b2a239277fd3a72fb7a2698ba222b76597cf4d1db2c5928e2056
MD5 58abe185272ccb9db480b50f0451b59d
BLAKE2b-256 4f5db738352de01ae55f8e01ff83c29f23a9efe1003cb0307ba78bd1c2249bf6

See more details on using hashes here.

File details

Details for the file asqrtc-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: asqrtc-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for asqrtc-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31968a379bb1040acd6cbb8e5df1ae4fa8970c89611c9f7b5211479b7be06af6
MD5 75957077d4a05e04110e9848d075ee0a
BLAKE2b-256 83e1fa51163aa2bb0670ca67dca08acead1c7030b49febd8483cca73dc4898c4

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