Skip to main content

Fixed point to floating point conversion utility

Project description

Crates.io PyPI

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

asciicast

Similar projects


*: sign is omitted here

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

fixed2float-0.1.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distributions

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

fixed2float-0.1.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (177.5 kB view details)

Uploaded PyPymanylinux: glibc 2.5+ x86-64

fixed2float-0.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (177.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.5+ x86-64

fixed2float-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (177.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.5+ x86-64

fixed2float-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (177.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.5+ x86-64

fixed2float-0.1.2-cp37-none-win_amd64.whl (110.1 kB view details)

Uploaded CPython 3.7Windows x86-64

fixed2float-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (177.2 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.5+ x86-64

fixed2float-0.1.2-cp37-cp37m-macosx_10_7_x86_64.whl (164.0 kB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

File details

Details for the file fixed2float-0.1.2.tar.gz.

File metadata

  • Download URL: fixed2float-0.1.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.7-beta.6

File hashes

Hashes for fixed2float-0.1.2.tar.gz
Algorithm Hash digest
SHA256 995218a4c32c7321652e55692b5e3080e7d0e255628175f6d431ebecb1d3f8d4
MD5 f9c45c783f609a7b15da224baa06c08d
BLAKE2b-256 0bf95ab1c3e43a0e63f3e8683e858b3f3938a641a9b3c06636aad9e129c2590e

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for fixed2float-0.1.2-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 fd9fec656229dda5a0964323f7b6e44ed050fc4f70d307f21e345f1d50a1a01e
MD5 e25b966304126d19bfe5b30ffd521f2f
BLAKE2b-256 09c218f486266bdf700c913884ca4eaaf18f3986b34f643746b5bb3fcd59d136

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file fixed2float-0.1.2-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for fixed2float-0.1.2-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4bde3101b833a25453f429f927a28491d29a548cfd2ab49b3779a92fa15c24e1
MD5 b2bb8eec59c53061c1826e08c3aacad3
BLAKE2b-256 32bee9ec537f90859eb45db60ae10acc60ed82352c264b8b170c5349f732da33

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