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,573
    Patricia Shanahan
    Sep 29, 2006
  2. Angus Comber

    How to convert a negative value to positive

    Angus Comber, Nov 27, 2004, in forum: C Programming
    Replies:
    2
    Views:
    534
    glen herrmannsfeldt
    Nov 28, 2004
  3. Johs
    Replies:
    19
    Views:
    627
    Old Wolf
    Jan 7, 2007
  4. Weng Tianxiang
    Replies:
    6
    Views:
    1,028
    Ray Andraka
    Mar 19, 2007
  5. MRAB
    Replies:
    2
    Views:
    432
    John Machin
    Jan 31, 2009
  6. c64
    Replies:
    0
    Views:
    1,992
  7. Hicham Mouline
    Replies:
    2
    Views:
    984
    Keith Thompson
    Apr 23, 2010
  8. Norah Jones
    Replies:
    12
    Views:
    374
    88888 Dihedral
    Mar 14, 2013
Loading...