Mail Archives: djgpp/1996/02/22/04:22:02
A.Appleyard <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk> wrote:
> I am sick of program runs being hostage to one stray floating point overflow.
> What I want is one or both of (1) Being able to tell the PC to carry on
> regardless if overflow happens, (2) Being able to tell the PC to go to such
> and such an address if overflow happens.
pausch AT electra DOT saaf DOT se (Paul Schlyter) replied:-
> And what do you intend to do in (2) if you get there (except to terminate
> the program)?
It could go to the next iteration, or the next set of data, or whatever,
according to whatever the program is for. If the program interacts with a
user, it could tell the user "Oi, that last lot of data made me overflow!" and
return to its own prompt instead of to a DPS prompt.
- Raw text -