Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Number theory
Reply
 
Thread Tools Display Modes
  #1  
Old November 1st, 2009, 12:54 PM
Newbie
 
Join Date: Apr 2009
Posts: 8
Country:
Thanks: 1
Thanked 0 Times in 0 Posts
ethio is on a distinguished road
Default Decimal to Binary conversion

Hello,
I need help in figuring out what im doing wrong:

-15.625 ---> 11110001.10100000 OR 11110001.101

but those turned out to be wrong.
any ideas?
Reply With Quote
Advertisement
 
  #2  
Old November 2nd, 2009, 08:18 AM
Senior Member
 
Join Date: Apr 2009
Location: Atlanta, GA
Posts: 370
Country:
Thanks: 40
Thanked 98 Times in 82 Posts
Media_Man will become famous soon enoughMedia_Man will become famous soon enough
Send a message via AIM to Media_Man
Default

Um, -15.625=-(2^3+2^2+2^1+2^0+2^{-1}+2^{-3})=-(1111.101)_2

Are you trying to "sign" it as a computer would, to store it in bytes? This is different than a strictly mathematical conversion.
__________________
"A mathematician is a device for turning coffee into theorems." ~Paul Erdős
Reply With Quote
  #3  
Old November 3rd, 2009, 12:22 PM
Newbie
 
Join Date: Apr 2009
Posts: 8
Country:
Thanks: 1
Thanked 0 Times in 0 Posts
ethio is on a distinguished road
Default

Thats what i was looking for. -1111.101
thnx
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 01:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.