home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19310 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  920 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!fg30.rz.uni-karlsruhe.de!gm08
  2. From: gm08@fg30.rz.uni-karlsruhe.de (Steffani)
  3. Newsgroups: comp.lang.c
  4. Subject: ints and overflow
  5. Date: 6 Jan 1993 16:06:08 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 9
  8. Message-ID: <1if01gINNa2v@nz12.rz.uni-karlsruhe.de>
  9. References: <1992Dec31.081322@trc.amoco.com> <3923@mdavcr.mda.ca>
  10. Reply-To: gm08@rz.uni-karlsruhe.de
  11. NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
  12.  
  13. these days we had a discussion what happens if you increment an
  14. uninitialized integer. some ppl ment that there will be an error
  15. because of an overflow. i do not aggree. 
  16. my problem is: can i be shure dealing with integers that all
  17. additions and subtractions will work modulo 2**(n+1) - 1 or
  18. can be a problem of overflow causing an interrupt or trap.
  19.  
  20. hans friedrich steffani
  21.  
  22.