Utility for fixed point to floating point conversion
Project description
fixed2float
Simple utility for fixed point to real number conversions, using the Q notation*.
Usage
- as a dependency of your Rust library
[dependencies]
fixed2float = { git = "https://github.com/urbanij/fixed2float" }
or
cargo add fixed2float
which will automatically fetch the most recent version from the registry.
- as a dependency of your Python library
pip install fixed2float
Examples
See example.py
or example/basic.rs
Screencast
Similar projects
- javascripts' fixed2float
*: sign is omitted here
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 Distribution
fixed2float-0.1.1.tar.gz
(5.0 kB
view hashes)
Built Distributions
Close
Hashes for fixed2float-0.1.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d53626197967c841e3cfd59ae848fbf657c4854023a7b1e161506efa685e0b |
|
MD5 | 9eb0fcad6b55d09aadc8f7c0fd3e420e |
|
BLAKE2b-256 | e0e1cbef8ba86e92baae992bada172a30e577346ea1a3e518dbef9fce9bc3e98 |
Close
Hashes for fixed2float-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86177d28b986c4fd77ccf55ed9f7b8bdb6efc5744424f553419f6d8764ec5cec |
|
MD5 | 1aed4990f85bcfbb8111a8d105381142 |
|
BLAKE2b-256 | fcb07940d36ce29d9344d89ad37340fe10e3b3f7f3899885bc3b1b31340c06bf |
Close
Hashes for fixed2float-0.1.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eecd50be1d513217bae2420f61f3341b4571647e1b27c61016c39beb233d03bd |
|
MD5 | 36525deffcb0d28517761487644d6a54 |
|
BLAKE2b-256 | 1ba1b32739aedf7bb3f8614ab9f245802e504c5d439a0247a062363275813239 |
Close
Hashes for fixed2float-0.1.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdca82fad6c4d4260019b2b9c846cbb979a848fae8d85046ccb7b64f4044d8de |
|
MD5 | b2988437023bdf5c3755b7068a1b367b |
|
BLAKE2b-256 | 6b1fe4c855c3182831117312a82109e0e1707590cb885c9ad4063f6ac6011dea |
Close
Hashes for fixed2float-0.1.1-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3987bea83f4bffbfb28bb79014d438f28f20e741e98cc248fd448e1bff38302a |
|
MD5 | 36c342c5fecc79272dd3c22875b31db1 |
|
BLAKE2b-256 | adefe01c50ab2a2fdb74b95a502609878f4df4d28bcc3fd3fa1b812e17fb8fbe |
Close
Hashes for fixed2float-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec2a401a10411170db796278d86a67cc746c2b48988d91e6c52cea1848130fc |
|
MD5 | 70d739a92c063c7fd1215b6728eb0bf9 |
|
BLAKE2b-256 | 86a3a5e5d636367f2afe8479e38219370bfa9eaba0d431cd4f99b096f3a1c6a1 |
Close
Hashes for fixed2float-0.1.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5cf11daad48e2e6f829e3cb2e80bb339015a68c6cdf3c76b5dc96df2f8fd6a |
|
MD5 | 82219ecaa2d0e3aa43fcbfe6424cf7d6 |
|
BLAKE2b-256 | 2b5c7fcf111ae2d3006076654d91433a146fc7df57a6c48b5a8795a69b4c23d8 |