Fixed point to floating point conversion utility
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.2.tar.gz
(5.6 kB
view hashes)
Built Distributions
Close
Hashes for fixed2float-0.1.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc541cfb8a82933872d0055b878851275cdb6980039cf8158380b91b2e9e12d |
|
MD5 | cfeec4a47cf5b9e690c1b39fbf0b6fea |
|
BLAKE2b-256 | a951e768278a4b1ad7a1c8506f1fdfb005bd1aec0f304540ff58266dab405e08 |
Close
Hashes for fixed2float-0.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f246d3df63c26a12aa22a44990d50ede41a58b6c2f23a690978200197e8ad8f9 |
|
MD5 | 6ed9eec561c9e7d4308441cace536c63 |
|
BLAKE2b-256 | 9a9da9a5cf63be4eed803316477225cfcfeee27a75f30682f4bce1525a789b72 |
Close
Hashes for fixed2float-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2b0ac8f3b6ad1383195d14d783b43abab7c6f25eafcb07b532ed456adcec74 |
|
MD5 | 78eb0d2debcbd50b33428b9334075988 |
|
BLAKE2b-256 | a6e95830c58c26eaeb04a7b42726d9674a064f3a178c03893c5ea242ff579106 |
Close
Hashes for fixed2float-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4ba8f93c4a357e5f981167c6cafa26b0f05daafa0ce9eaf67f4dc75b55993c |
|
MD5 | 0a76aa24be503c0e0d3317eb48e10e09 |
|
BLAKE2b-256 | 835d298a5118ba4a5fb6f10326bd071a5c9c28ecb0b0a02b1b4587ca6d8611bc |
Close
Hashes for fixed2float-0.1.2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9fec656229dda5a0964323f7b6e44ed050fc4f70d307f21e345f1d50a1a01e |
|
MD5 | e25b966304126d19bfe5b30ffd521f2f |
|
BLAKE2b-256 | 09c218f486266bdf700c913884ca4eaaf18f3986b34f643746b5bb3fcd59d136 |
Close
Hashes for fixed2float-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eca59745cf0b9372c5dbf2cf14998faf613eb6e3b5dde85ba5c021f76b2b631 |
|
MD5 | 4602076fcf93665dbab1a8d7c0ae1df5 |
|
BLAKE2b-256 | 06fca30d21b065d4cd35e70832a253ada51d7879d0a35fda69d9ba1f383117d9 |
Close
Hashes for fixed2float-0.1.2-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bde3101b833a25453f429f927a28491d29a548cfd2ab49b3779a92fa15c24e1 |
|
MD5 | b2bb8eec59c53061c1826e08c3aacad3 |
|
BLAKE2b-256 | 32bee9ec537f90859eb45db60ae10acc60ed82352c264b8b170c5349f732da33 |