Thread
:
Negatives in Binary
View Single Post
#
11
14-01-2007, 22:59
ChuckDickerson
Mentor / Bayou & CMP Division LRI
FRC #0456 (Siege Robotics)
Team Role: Mentor
Join Date: May 2004
Rookie Year: 2004
Location: Vicksburg, MS
Posts: 877
Re: Negatives in Binary
An UNSIGNED byte can represent a value between 0 and 255.
A SIGNED byte can represent -128 to 127.
You must know what type of byte you are working with. This is the whole purpose of declaring variable types.
ChuckDickerson
View Public Profile
Visit ChuckDickerson's homepage!
Find all posts by ChuckDickerson
Find CD-Media Photos by ChuckDickerson
Find CD-Media Papers by ChuckDickerson