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 VisSim (Fxm.b) and Q (Qm.n) notations.

Usage

  • as a dependency of your Rust library
cargo add fixed2float

which will automatically fetch the most recent version from the registry and update one line on Cargo.toml.

  • as a dependency of your Python library
pip install fixed2float

Examples

See example.py (Python) or the examples folder (Rust) or this online notebook:

Binder

Similar projects

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-2.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distributions

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

fixed2float-2.0.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (204.4 kB view details)

Uploaded PyPymanylinux: glibc 2.5+ x86-64

fixed2float-2.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (203.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.5+ x86-64

fixed2float-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (203.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.5+ x86-64

fixed2float-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (203.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.5+ x86-64

fixed2float-2.0.1-cp37-none-win_amd64.whl (135.8 kB view details)

Uploaded CPython 3.7Windows x86-64

fixed2float-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (203.7 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.5+ x86-64

fixed2float-2.0.1-cp37-cp37m-macosx_10_7_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: fixed2float-2.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.10-beta.1

File hashes

Hashes for fixed2float-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0a057e5edfae8448d6864e0d00adbedf4cfcedec4ab14ac71647faa77188107e
MD5 f0c7828adad8541ea107b1e692ff2c4f
BLAKE2b-256 97564791c574262ff5f2879bcfcd8223186cb35c1e30f9cd5c231b92df68a27d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9ec0b99ab6db5bfaa8d160e0b40b5e308c91b3288c11383c6b5962e3ae983627
MD5 fa89d0fcdcbac6c80b005eb1ee09257b
BLAKE2b-256 5624e9661a07a35ac5d75a66c38d3c7ffd5d8b02851a4c4fb01d84c52ee3ea45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 29cbebdd6088644009842c4b21803cdd18f5791182fd8b11ab9d32fec96c5e79
MD5 a87f978ff00e6e641961380633ab613d
BLAKE2b-256 2ff2504bad2c68b209a9dde5e6c8bffa488fabf743888616eab590e612a7a45f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8a5ad589b1c46aad318a5b01bce3ebb250a386f9943b3cae940f5c4664e4c849
MD5 b8eaf7666e197daf84d741b99110c9bc
BLAKE2b-256 757e767ff9e7e062ac202aac2fd7208019c58f4bca05c0a11776b0e12257d729

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8f55cf0bcee1d5582602b92d7bae2f2684883aff85b7e1a20f9c48336ff6e912
MD5 0fc0f07920b59910c8ec2aa3cdb8f7fe
BLAKE2b-256 2373618197c5f799a9db7708e7f6adc9658f4f2b7ad3c4e8419fecf8879f112f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 f2f17e02d659807c19866a0e0aac1a78f0d9afacd65ecffeaa767cec4ef873cf
MD5 367797b40a26684d9c6c93cb61b78694
BLAKE2b-256 937fde628c40fb12b546afeb9d02465917056c2cc697a3a7db43a777663b763f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4d468aa9b4d0de4bb94c441ed3982691d7d5db7228a76fde2775f9cd4bb75ba8
MD5 1b56ebfe8faa4df97b21b6ce0d92d319
BLAKE2b-256 a7ba4420f11d44fad8b53a356760d55b8399054eeb4da6288cc0146883d9033f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixed2float-2.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3046c671e6b6b885c921a15d5e77d3a00a948354418fcf0efa47d200deebbaca
MD5 fa4917dca03e5da17b7157c79301dc46
BLAKE2b-256 524bcf8a93c585be7de54b53bd875f5f3f15ab698702b73a92eed94b4ed626cd

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