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 7944791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:39:31+00:00 2026-06-04T00:39:31+00:00

MSDN : Int32 values are represented in 31 bits, with the thirty-second bit used

  • 0

MSDN:

Int32 values are represented in 31 bits, with the thirty-second bit used as a sign bit. Positive values are represented by using sign-and-magnitude representation. Negative values are in two’s complement representation.

Isn’t it true that the representation of positive values using sign-and-magnitude system is identical to the representation of positive values using two’s complement system?

So shouldn’t it have been rewritten as: “Int32 values (regardless of positive or negative) are represented in two’s complement representation”,

Or am I misunderstanding 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-04T00:39:32+00:00Added an answer on June 4, 2026 at 12:39 am

    Yes, you are correct. They should have said it uses a two’s complement system, and then given the definition about using 31 bits and, rather than explaining negatives as "two’s complement", just explain the bit representation for negatives. Then give their warning about bitwise operators.

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

Sidebar

Related Questions

I read this from msdn about Int32.TryParse() When this method returns, contains the 32-bit
From msdn : FileSystem.ReadByte The byte, cast to an Int32, or -1 if the
productQuery1.SelectValue<Int32>(it.ProductID); How would I know what it means here? Whole example from MSDN docs
According to MSDN Library using Statement (C# Reference) Defines a scope, outside of which
I have been using some code to create MTOM by using code from MSDN
According to MSDN, System.Int32 is immutable, and its members always return new instances. Some
I am using the Dynamic Linq library found here: http://speakingin.net/2008/01/08/dynamic-linqparte-1-usando-la-libreria-de-linq-dynamic/ http://msdn.microsoft.com/en-us/vstudio//bb894665.aspx I have the
MSDN states that String.Intern retrieves the system's reference to the specified String and String.IsInterned
MSDN docs say that only value types need boxing, but this does not apply
MSDN: BaseOutputPath : Specifies the base path for the output file. If it is

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.