Jump to content
The simFlight Network Forums

Recommended Posts

Posted
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.