Please support our C advertiser: Programming Forums
![]() |
•
•
Join Date: Oct 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I'm trying to express a decimal to a binary floating point, but I'm having trouble with the normalization and what comes afterwards.
So for the example of 2, we would express it in terms of binary: 10. Then normalize it to get .1 * 2^2? How can I express this value in terms of sign/magnitude mantissa? (Please explain the methodology) Let's say we want it in 10 bits.
Thanks everyone.
I'm trying to express a decimal to a binary floating point, but I'm having trouble with the normalization and what comes afterwards.
So for the example of 2, we would express it in terms of binary: 10. Then normalize it to get .1 * 2^2? How can I express this value in terms of sign/magnitude mantissa? (Please explain the methodology) Let's say we want it in 10 bits.
Thanks everyone.
Perhaps you should have a look at this. http://en.wikipedia.org/wiki/Floatin...#Normalization
dwk
Seek and ye shall find.
"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.
"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison
"The only real mistake is the one from which we learn nothing."
-- John Powell
Seek and ye shall find.
"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.
"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison
"The only real mistake is the one from which we learn nothing."
-- John Powell
![]() |
Similar Threads
Other Threads in the C Forum
- Difference among loops (C)
- MSN Messenger sign in problems with XP (Windows Software)
- Binary Numbers (Computer Science)
- Easy (I hope) MIPS (SPIM) Question (Assembly)
- can't sign in to hotmail (Web Browsers)
- can't sign into messenger (Web Browsers)
Other Threads in the C Forum
- Previous Thread: giving gdb debugger argument
- Next Thread: Using Returned Values and other questions...
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode