sqrt(2)
Project description
SquareRoot2Py
https://www.youtube.com/watch?v=ktRwfBMV4S8
The SquareRoot2Py
package aims to remove the hassle of computing the square root of 2.
Features
- computing the square root of 2
- up to 16 decimal places of precision
- cross-platform support
- O(1) algorithm
- clear and concise naming
Installation
pip install SquareRoot2Py
Examples
To compute the square root of 2 easily:
import SquareRoot2Py
print(SquareRoot2Py.compute_square_root_of_2())
If you would like to round the result:
import SquareRoot2Py.RoundedSquareRoot2Py
print(RoundedSquareRoot2Py.compute_rounded_square_root_of_2())
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
squareroot2py-2.0.1.tar.gz
(38.3 kB
view hashes)
Built Distribution
Close
Hashes for SquareRoot2Py-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac20871d03229e74b18d7d56e027eda49ca823f9bf93661038e15e6e02635a8 |
|
MD5 | bd325902a5264af8978654d3605fe758 |
|
BLAKE2b-256 | 6f60c00779ce76a196183dd746ef842bdb0c36abf1b5b48663f4a797843e75a0 |