# fixed2float
[](https://crates.io/crates/fixed2float)
[](https://pypi.org/project/fixed2float/)
[](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*) [notations](https://en.wikipedia.org/wiki/Fixed-point_arithmetic#Notations).
### Usage
- as a dependency of your Rust library
```sh
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
```sh
pip install fixed2float
```
### Examples
- Interactive notebook [](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)
### Similar projects
- [javascript's fixed2float](https://www.npmjs.com/package/fixed2float)