Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tiny qt tool to compute a fraction part of a number to its represented value which could be written into a register, for a micro controller for example

License

Notifications You must be signed in to change notification settings

NilsMinor/FractionToBinaryConverter

Open more actions menu

Repository files navigation

FractionToBinaryConverter

Tiny qt tool to compute a fraction part of a number to its represented value which could be written into a register, for a micro controller for example

I used it to compute the fraction par of a number to the binary value to write it to a regsiter of a controller. The format of the 24 Bit register was |2^-1|2^-2|2^-3 ....|2^-23|2^-24|. I solved the problem/recalculation by writing this tiny tool in Qt.

Alt text The image shows how to use the tool. Simply edit the number in a 0.xxx or 0,xxx fashion. Check the bit accuracy and press calculate and that's it. See the example picture to see how error is changing when reducing the bit count.

-Nils

About

Tiny qt tool to compute a fraction part of a number to its represented value which could be written into a register, for a micro controller for example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.