Hello. I am currently writing software that processes the format of a Texas Instruments DSP floating point. The software works where a user enters a number formatted in the TMS320C32's single-precision floating-point (as a hexadecimal) and the program converts it into the decimal equivalent. Here are some examples, that were taken directly from the TMS320C3X user's guide:
The user would enter the value -3, and the program would output 0x01C00000.
The user would enter the value 6, and the program would output 0x02400000.
The user would enter the value 0.046875, and the program would output 0xFB400000.
Okay, so the user's guide is pretty good about explaining how the above 3 cases can be converted to/from TMS320C3X format. I am confused however, on how we would convert to/from negative whole numbers containing fractional components as well as negative fractional numbers.
I would like some examples on how to convert between say... the following two numbers:
-0.769 and -4.537
Thank You