Topic: range_error versus overflow/underflow_error


Author: Frank Uepping <Frank.Uepping@epost.de>
Date: Mon, 2 Apr 2001 11:58:50 CST
Raw View
Hi,
what is the distinction between a range_error and an
overflow/underflow_error?
Are overflow/underflow_errors not a range_error?

Frank U.



---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]





Author: "James Kuyper Jr." <kuyper@wizard.net>
Date: Mon, 2 Apr 2001 21:21:40 CST
Raw View
Frank Uepping wrote:
>
> Hi,
> what is the distinction between a range_error and an
> overflow/underflow_error?
> Are overflow/underflow_errors not a range_error?

There is none - the standard says nothing meaningful to distiguish the
different standard exception classes. All they have is names, and those
names imply overlapping meanings.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]