View Single Post
  #4   Spotlight this post!  
Unread 14-01-2007, 22:30
something something is offline
Registered User
FRC #1438
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Cypress, CA
Posts: 10
something is an unknown quantity at this point
Re: Negatives in Binary

Quote:
Originally Posted by Michael Hill View Post
But how would I know if 1011 is 11 or -5?
A signed 4-bit value would only be able to represent values from 4 to -4. Check out two's complement on wikipedia for more info on binary representations of negative numbers.
Reply With Quote