[comp.sys.ibm.pc] Trapping floating-point exceptions under Turbo C

steve@ondine.uucp (Steve Jenkins) (10/07/87)

References:


I would like to get advice from PC users on trapping floating-point
errors under Turbo C -- something along the lines of Unix signal().

I've read about matherr(), but it seems to be called only for errors
occurring in the math library and/or 8087 emulation routines.  I'm
trying to trap runtime exceptions that occur in my code (a programmable
data-acquisition system).  The ideal solution would work with and
without the 8087 -- for now I'll settle for an 8087-specific solution.

Please reply by email.  I'll post a summary of responses to this group.

Thanks.
Steve Jenkins			ucla-an!steve@EE.UCLA.EDU
UCLA Dept of Anesthesiology	{decvax,ihnp4}!hermix!ucla-an!steve
				(213)-825-4364