RSS Forums RSS
Please support our C advertiser: Programming Forums
Views: 968 | Replies: 1 | Thread Tools  Display Modes
Reply
Join Date: Oct 2007
Posts: 2
Reputation: rocksteady911 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rocksteady911 rocksteady911 is offline Offline
Newbie Poster

Sign/magnitude mantissa

  #1  
Oct 19th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2005
Location: Canada
Posts: 236
Reputation: dwks will become famous soon enough dwks will become famous soon enough 
Rep Power: 5
Solved Threads: 21
dwks's Avatar
dwks dwks is offline Offline
Posting Whiz in Training

Re: Sign/magnitude mantissa

  #2  
Oct 20th, 2007
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the C Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:27 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC