converts binary to twos complements binary.
Project description
twos-complement
A python pip package to implement twos-complement
#Example
from two_complement import twos_complement
print(two_complemts('00000100'))
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file twos_complement-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: twos_complement-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2a3a369b840b465c225fb4fd107d7be2c3f8cdb988a156a1825f6936e084ac |
|
MD5 | f09ac3560f62d3a1826d8a479d3d94c9 |
|
BLAKE2b-256 | d5ffc1248aa796083a200e5dedf9a5047252721deeb1844b32b8a41076bc336e |