??? 06/11/10 17:50 Read: times |
#176606 - You are going to have to load it. Responding to: ???'s previous message |
I assume you have the bit locations for the 32bit (4 bytes)
The sign is easy. Then you have to format your number the standard format. M.MMMM * 10^EEE. Then shift them to the correct locations. Ex: 2000 = 2.000 * 10^3 M = 2 and E = 3 S = 0 -2000 = 2.000 * 10^3 M = 2 and E = 3 S = 1 .002 = 2.000 * 10^-3 M = 2 and E = -3 S = 0 for a simple translation it should not be too bad. For full floating point math in ASM they have libraries and HLL |
Topic | Author | Date |
how to convert dword to IEEE754? | 01/01/70 00:00 | |
What environment hosts this? | 01/01/70 00:00 | |
Which format are you aiming for? | 01/01/70 00:00 | |
sorry | 01/01/70 00:00 | |
One thing to consider is C | 01/01/70 00:00 | |
You are going to have to load it. | 01/01/70 00:00 | |
thank You, | 01/01/70 00:00 |