home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13495 < prev    next >
Encoding:
Text File  |  1992-09-10  |  791 b   |  25 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!usc!news.aero.org!aero.org!speedy.aero.org!kanga.aero.org!brady
  3. From: brady@kanga.aero.org (Wayne Brady)
  4. Subject: Safe Arithmetic Operations
  5. Message-ID: <1992Sep10.210609.14199@speedy.aero.org>
  6. Keywords: error,type
  7. Sender: news@speedy.aero.org
  8. Nntp-Posting-Host: kanga.aero.org
  9. Organization: The Aerospace Corporation; El Segundo, CA
  10. Date: Thu, 10 Sep 1992 21:06:09 GMT
  11. Lines: 12
  12.  
  13. C++ has no error handling for overflow, underflow, divide 
  14. by zero, etc.  We are considering writing safe types to 
  15. replace the built in int, unsigned int, float, double, etc.
  16. We would like to trap the errors and provide information
  17. to the user about the location of the error.
  18.  
  19. Has anyone already done this?
  20.  
  21. If you email answers to me, I will post a summary.
  22.  
  23.     
  24.  
  25.