Page 1 of 1

Signed fixed point values Conversion

Posted: Fri Apr 10, 2015 3:06 pm
by hgamal
I am trying to write a FV-1 command line assembler.

I would like to know if there is a known algorithm to convert strings/hex to S1.14 S1.9 S.10 Signed fixed point format and vice versa.

Any other algorithm, like hex to real function are welcome.

Posted: Fri Apr 10, 2015 4:30 pm
by Digital Larry

Posted: Sun Apr 12, 2015 1:25 pm
by hgamal
Great! :)

Thank you!
Digital Larry wrote:Here's what you want, in Java:

https://github.com/HolyCityAudio/SpinCA ... ction.java

Posted: Fri Dec 11, 2015 11:50 pm
by gpProductions
Here is a great wikipedia article related to the fixed point number format used by the FV1 and conversion formulas that helped me out.

https://en.wikipedia.org/wiki/Q_(number_format)