[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Exception handling
Michel Hack (1-914-784-7648) <hack@xxxxxxxxxxxxxx> wrote:
Vincent Lef[vre wrote:
Yes, but are there standards that define what shall/should be
available for dealing with those exceptions? Note that explicit
signal, Throw or longjmp are not the issue here.
Also note that floating-point exceptions (and the integer equivalent,
on systems decent enough to detect them) are the only ones where a
large number of fine-grained traps are needed. In fact, the grain
for such trapping is probably 10-100 times less than for any other
type of exception - with C99 possibly even reaching 100-1,000 because
of its false-positive rule :-(
And, as you say, setting the flag is not the problem. It is when
the handler is called to set it that is.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1@xxxxxxxxx
Tel.: +44 1223 334761 Fax: +44 1223 334679