Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8139755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:56:02+00:00 2026-06-06T11:56:02+00:00

Just wanted to know something about signed vs unsigned interpretation. Am I right if

  • 0

Just wanted to know something about signed vs unsigned interpretation. Am I right if I say that if a number is unsigned integers it’s value is calculated normally by converting the binary into decimal..but when it comes to signed integers, the sign bit(msb) is noted first and then the binary value is calculated using 2’s complement ; the value calculated is the real value with the sign noted.

Am I right or missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:56:03+00:00Added an answer on June 6, 2026 at 11:56 am

    Yes, you are right. When converting a signed integer represented in 2’s complement form into a decimal number, this is how you would do it. And 2’s complement is how Intel processors store and do math with signed integers.

    NOTE: But this answer is not about how Intel machines represent signed integers. It is general.

    The technique you use to convert to decimal really depends on the representation used by the hardware.

    A hardware designer may choose to store a signed number as:

    1. Sign-Magnitude (1 bit specifies sign, the others specify the magnitude, no complement)
    2. 1’s complement (where, the 8-bit 11111111 represents a -0, and 00000000 a +0)
    3. 2’s complement (popular in general purpose hardware, like Intel)
    4. … (there are other ways too. Read more in the Wikipedia article)

    And we humans need to use the corresponding ‘conversion’ when reading those in our preferred, decimal form.

    e.g. If you were designing hardware that mostly does multiplications, storing signed integers in sign-magnitude form would make some sense. You just multiply the signs and magnitudes separately. On the other hand 2’s complement numbers are a little unwieldy to multiply, but not much.

    Of course, 2’s complement is the way most hardware (almost all the general purpose CPUs today) stores signed numbers. This makes additions a piece of cake.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just wanted to know if anyone is really using Objects and Collections in Oracle
Just wanted to know if there is a big chance to inject SQL While
Just wanted to know if overriding UITabBarController would get my app rejected? Is it
Just wanted to know if is possible to use mod_rewrite on a single(or more
I just wanted to know how to configure FCKEditor to upload files and images
I just wanted to know what is the main advantage of using the iterators
I just wanted to know if it is 100% possible, if my language is
i just wanted to know if it is possible to check in mouse event
I just wanted to know if I can point to class using this implementation:
I just wanted to know, if there is any technique to insert values into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.