home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!usc!news.aero.org!aero.org!speedy.aero.org!kanga.aero.org!brady
- From: brady@kanga.aero.org (Wayne Brady)
- Subject: Safe Arithmetic Operations
- Message-ID: <1992Sep10.210609.14199@speedy.aero.org>
- Keywords: error,type
- Sender: news@speedy.aero.org
- Nntp-Posting-Host: kanga.aero.org
- Organization: The Aerospace Corporation; El Segundo, CA
- Date: Thu, 10 Sep 1992 21:06:09 GMT
- Lines: 12
-
- C++ has no error handling for overflow, underflow, divide
- by zero, etc. We are considering writing safe types to
- replace the built in int, unsigned int, float, double, etc.
- We would like to trap the errors and provide information
- to the user about the location of the error.
-
- Has anyone already done this?
-
- If you email answers to me, I will post a summary.
-
-
-
-