•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 456,552 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,459 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 887 | Replies: 1
![]() |
•
•
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb C Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Difference among loops (C)
- MSN Messenger sign in problems with XP (Windows Software)
- Binary Numbers (Computer Science and Software Design)
- 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...


Linear Mode