RC-Monster Forums  

Go Back   RC-Monster Forums > RC-Monster Area > General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
Old
  (#1)
BrianG
RC-Monster Admin
 
BrianG's Avatar
 
Offline
Posts: 14,609
Join Date: Nov 2005
Location: Des Moines, IA
10.15.2008, 01:25 AM

Quote:
Originally Posted by kulangflow View Post
Wouldn't a bunch of 1's be a negative number because of the leading 1?
Not necessarily. Most of the time you deal with positive bits (after all, how can you have -on, off, on?) so you'll have a sets of 4 binary bits to easily represented via Hex. If you have a fifth bit, the most significant bit could be used to represent positive and negative, or just a fifth bit if 16 is not enough. So, 5 bits could be used to represent -16 to 16, or 0 to 31, depending on the application. Either way, the range is the same (32).

Nice try though.
  Send a message via Yahoo to BrianG Send a message via MSN to BrianG  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On

Forum Jump







Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com