# fixed2float
[![Crates.io](https://img.shields.io/crates/v/fixed2float)](https://crates.io/crates/fixed2float)
[![PyPI](https://img.shields.io/pypi/v/fixed2float)](https://pypi.org/project/fixed2float/)
[![codecov](https://codecov.io/gh/urbanij/fixed2float/branch/master/graph/badge.svg?token=9JEMJTB2IT)](https://codecov.io/gh/urbanij/fixed2float)
Simple utility for fixed point to real number conversions, using the VisSim (Fx*m.b*) ~~and Q (Q*m.n*)~~ [notation](https://en.wikipedia.org/wiki/Fixed-point_arithmetic#Notations).
### Usage
- as a dependency of your Rust library
```sh
cargo add fixed2float
```
- as a dependency of your Python library
```sh
pip install fixed2float
```
### Examples
- Interactive notebook [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/urbanij/fixed2float/HEAD?labpath=py-fixed2float%2Fexamples%2Fnotebook.ipynb)
- [example.py](https://github.com/urbanij/fixed2float/blob/master/py-fixed2float/examples/example.py) (Python)
- [examples folder](https://github.com/urbanij/fixed2float/tree/master/examples) (Rust)
<!-- ### Screencast -->
<!-- [![asciicast](https://asciinema.org/a/463661.svg)](https://asciinema.org/a/463661) -->
Raw data
{
"_id": null,
"home_page": null,
"name": "fixed2float",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "fixed,float,q-format",
"author": "Francesco Urbani <francescourbanidue@gmail.com>",
"author_email": "Francesco Urbani <francescourbanidue@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/04/bd/0cf3886473f07afe97cba0b215b79279e5ec268c4f8561e3b680134e0296/fixed2float-4.0.1.tar.gz",
"platform": null,
"description": "# fixed2float\n[![Crates.io](https://img.shields.io/crates/v/fixed2float)](https://crates.io/crates/fixed2float)\n[![PyPI](https://img.shields.io/pypi/v/fixed2float)](https://pypi.org/project/fixed2float/)\n[![codecov](https://codecov.io/gh/urbanij/fixed2float/branch/master/graph/badge.svg?token=9JEMJTB2IT)](https://codecov.io/gh/urbanij/fixed2float)\n\n\nSimple utility for fixed point to real number conversions, using the VisSim (Fx*m.b*) ~~and Q (Q*m.n*)~~ [notation](https://en.wikipedia.org/wiki/Fixed-point_arithmetic#Notations).\n\n### Usage\n\n- as a dependency of your Rust library\n\n```sh\ncargo add fixed2float\n```\n\n- as a dependency of your Python library\n\n```sh\npip install fixed2float\n```\n\n\n### Examples\n- Interactive notebook [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/urbanij/fixed2float/HEAD?labpath=py-fixed2float%2Fexamples%2Fnotebook.ipynb)\n- [example.py](https://github.com/urbanij/fixed2float/blob/master/py-fixed2float/examples/example.py) (Python)\n- [examples folder](https://github.com/urbanij/fixed2float/tree/master/examples) (Rust) \n\n\n<!-- ### Screencast -->\n\n<!-- [![asciicast](https://asciinema.org/a/463661.svg)](https://asciinema.org/a/463661) -->\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Fixed point to floating point conversion utility",
"version": "4.0.1",
"project_urls": {
"Source Code": "https://github.com/urbanij/fixed2float"
},
"split_keywords": [
"fixed",
"float",
"q-format"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "25adbf97fb3537c24af318d0e61a6bb52cdba1483bb0b91b9fbf387e711c6d6b",
"md5": "69e776213c9074052e5ffe01c63bf84f",
"sha256": "e0107a7292ca0d89e04395dcc40b6ce8721e877b69bf4a2fd7eea6e063e8efba"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "69e776213c9074052e5ffe01c63bf84f",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.7",
"size": 218180,
"upload_time": "2023-08-13T16:29:27",
"upload_time_iso_8601": "2023-08-13T16:29:27.483140Z",
"url": "https://files.pythonhosted.org/packages/25/ad/bf97fb3537c24af318d0e61a6bb52cdba1483bb0b91b9fbf387e711c6d6b/fixed2float-4.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "809b41898862c3b53b08787efb37555395381a1116170115a24f3a501a72b455",
"md5": "ec84630abf94c1665d8791ff8beae750",
"sha256": "0ee20a7d4cc01f9d4d37110dc8dbcee27b8598cea63fc8e3449123536443f865"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-cp37-cp37m-macosx_10_7_x86_64.whl",
"has_sig": false,
"md5_digest": "ec84630abf94c1665d8791ff8beae750",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7",
"size": 201344,
"upload_time": "2023-08-13T16:28:50",
"upload_time_iso_8601": "2023-08-13T16:28:50.823911Z",
"url": "https://files.pythonhosted.org/packages/80/9b/41898862c3b53b08787efb37555395381a1116170115a24f3a501a72b455/fixed2float-4.0.1-cp37-cp37m-macosx_10_7_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "76eddfb7b24a895b16f256daa9a95ee7cf75480d5f580e37e9389976378088ee",
"md5": "0de7e37fc6a9dddfc21bad8e06b6ad88",
"sha256": "2e7a939eed439b58efa23c2ebcc7d77c496f2ef5a1b61f84c14616db9b2e0256"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "0de7e37fc6a9dddfc21bad8e06b6ad88",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7",
"size": 218691,
"upload_time": "2023-08-13T16:29:22",
"upload_time_iso_8601": "2023-08-13T16:29:22.314594Z",
"url": "https://files.pythonhosted.org/packages/76/ed/dfb7b24a895b16f256daa9a95ee7cf75480d5f580e37e9389976378088ee/fixed2float-4.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5790a41157527ffabbc4c8062a912c06dde28b97786771744d2290c51e92901d",
"md5": "9b61f66e087a887a48354ba72dd77a70",
"sha256": "11cae8c5c58babadfa4a6c6c60a9ea255cdb30ee67f6bbdd3a3db1d4d75dd6c9"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-cp37-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "9b61f66e087a887a48354ba72dd77a70",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7",
"size": 150079,
"upload_time": "2023-08-13T16:31:38",
"upload_time_iso_8601": "2023-08-13T16:31:38.117163Z",
"url": "https://files.pythonhosted.org/packages/57/90/a41157527ffabbc4c8062a912c06dde28b97786771744d2290c51e92901d/fixed2float-4.0.1-cp37-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a7dd6b86f21cff3ad66d7110f3ec6fa9165ee05a32737f1d1c85c90896dd8811",
"md5": "51ad116d307e5e2b83a19a82e2c0887a",
"sha256": "87203563f2497c100edf3b78c3428df2899ffbf709b5a20a65ef6810ae3e4cd0"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "51ad116d307e5e2b83a19a82e2c0887a",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.7",
"size": 218666,
"upload_time": "2023-08-13T16:29:23",
"upload_time_iso_8601": "2023-08-13T16:29:23.961682Z",
"url": "https://files.pythonhosted.org/packages/a7/dd/6b86f21cff3ad66d7110f3ec6fa9165ee05a32737f1d1c85c90896dd8811/fixed2float-4.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "89058e1d1903c49270885d2efdaf8a8a028b84e08d392bdf7e3414fb2bf26528",
"md5": "885b03a264c462365efc0479721fc53d",
"sha256": "f8c85f6e3a3c84582d9f8886bfcfde9921fb6c75d64a47b6e403777745885fe3"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "885b03a264c462365efc0479721fc53d",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.7",
"size": 218685,
"upload_time": "2023-08-13T16:29:25",
"upload_time_iso_8601": "2023-08-13T16:29:25.698017Z",
"url": "https://files.pythonhosted.org/packages/89/05/8e1d1903c49270885d2efdaf8a8a028b84e08d392bdf7e3414fb2bf26528/fixed2float-4.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d5baf4caf86d68eae995e118e36b109c42f193ecd765536189d52f7967e05131",
"md5": "c5d37e5513970a8c86f3b86edcd662bc",
"sha256": "796192a68834aa053f5dfb5cf04ff0ddc9b2bf11b38e833b78c125ce44628842"
},
"downloads": -1,
"filename": "fixed2float-4.0.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "c5d37e5513970a8c86f3b86edcd662bc",
"packagetype": "bdist_wheel",
"python_version": "pp37",
"requires_python": ">=3.7",
"size": 220697,
"upload_time": "2023-08-13T16:29:29",
"upload_time_iso_8601": "2023-08-13T16:29:29.239649Z",
"url": "https://files.pythonhosted.org/packages/d5/ba/f4caf86d68eae995e118e36b109c42f193ecd765536189d52f7967e05131/fixed2float-4.0.1-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "04bd0cf3886473f07afe97cba0b215b79279e5ec268c4f8561e3b680134e0296",
"md5": "2441c67c26839c33ba4800002f61ba5d",
"sha256": "801daac5f90dd9fa4147add1fa9d8a5cf07f7d03ef0c655a034d0ec6e22913ec"
},
"downloads": -1,
"filename": "fixed2float-4.0.1.tar.gz",
"has_sig": false,
"md5_digest": "2441c67c26839c33ba4800002f61ba5d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 12889,
"upload_time": "2023-08-13T16:29:30",
"upload_time_iso_8601": "2023-08-13T16:29:30.645350Z",
"url": "https://files.pythonhosted.org/packages/04/bd/0cf3886473f07afe97cba0b215b79279e5ec268c4f8561e3b680134e0296/fixed2float-4.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-13 16:29:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "urbanij",
"github_project": "fixed2float",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fixed2float"
}