Adding a positive number and a negative number

Discussion in 'Python' started by EK, Jan 30, 2009.

  1. EK

    EK Guest

    In two’s complement representation, can adding one positive and one negative give you overflow?
     
    EK, Jan 30, 2009
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    1,478
    Patricia Shanahan
    Sep 29, 2006
  2. Johs
    Replies:
    19
    Views:
    554
    Old Wolf
    Jan 7, 2007
  3. Weng Tianxiang
    Replies:
    6
    Views:
    909
    Ray Andraka
    Mar 19, 2007
  4. MRAB
    Replies:
    2
    Views:
    393
    John Machin
    Jan 31, 2009
  5. Hicham Mouline
    Replies:
    2
    Views:
    923
    Keith Thompson
    Apr 23, 2010
Loading...

Share This Page