astrograppa Posted February 10, 2010 Report Posted February 10, 2010 What is the difference between Unsigned (U) or Signed (S) values in the OFFSET parameters? Thanks Fabio Italy
Pete Dowson Posted February 10, 2010 Report Posted February 10, 2010 What is the difference between Unsigned (U) or Signed (S) values in the OFFSET parameters? Well, just the obvious, really -- signed numbers have a sign: in other words they can be positive or negative. Unsigned numbers can only be positive (or zero of course). So, for example, a signed byte can contain -128 to +127 whilst an unsigned byte can be 0 to 255. Similarly a 16-bit (2-byte) word is 0 to 65535 unsigned, or -32768 to +32767 signed. Pete
astrograppa Posted February 10, 2010 Author Report Posted February 10, 2010 Ok, good explanation! Tanks Pete Fabio
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now