Article View: comp.os.msdos.programmer
Article #4359Re: Trapping Floating Point Errors in Turbo C
From: teittinen
Date: Thu, 24 Jan 1991 12:51
Date: Thu, 24 Jan 1991 12:51
14 lines
1159 bytes
1159 bytes
In article <21650@netcom.UUCP>, resnicks@netcom.UUCP (Steve Resnick) writes:
>
> I have a problem - I need to trap floating point errors from the floating
> point hardware. Currently, I am using signal() to do this, but signal doesn't
> give me some of the information I need.
Have you tried writing your own matherr()-function. It is another "clean"
way to handle floating point errors and it gets some information that is
not included in signal (if my memory serves me right).
--
E-Mail: teittinen@finuh.bitnet ! "Studying is the only way
teittinen@cc.helsinki.fi ! to do nothing without
Marko Teittinen, student of computer science ! anyone blaming you" -me
Technical Details
Message-ID:
<1991Jan24.125150.4631@cc.helsinki.fi>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!hydra!cc.helsinki.fi!teittinenReferences:
<21650@netcom.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!hydra!cc.helsinki.fi!teittinen From: teittinen@cc.helsinki.fi Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer Subject: Re: Trapping Floating Point Errors in Turbo C Message-ID: <1991Jan24.125150.4631@cc.helsinki.fi> Date: 24 Jan 91 12:51:50 GMT References: <21650@netcom.UUCP> Organization: University of Helsinki Lines: 14