Article View: comp.os.os2.programmer
Article #3088Re: I want NaN and Inf to crash program. Is this possible?
From: Brooke Paul Anderson
Date: Mon, 23 Nov 1992 09:56
Date: Mon, 23 Nov 1992 09:56
6 lines
917 bytes
917 bytes
The problem is that, if your program has generated a NaN or an Inf, something is definitely wrong, and the calculation needs to be halted. To me, having to sprinkle tests all over to check for these conditions is just as inconvenient and annoying as trying to catch bad pointers in an OS that doesn't have protected memory (like in DOS, where pointers can stomp all over the OS until the whole machine locks up).
Technical Details
Message-ID:
<1eq9snINN8bu@gap.caltech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!brookeReferences:
<1emagvINNclf@gap.caltech.edu> <1992Nov22.073943.2912@weyrich.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!brooke From: brooke@cco.caltech.edu (Brooke Paul Anderson) Newsgroups: comp.os.os2.programmer Subject: Re: I want NaN and Inf to crash program. Is this possible? Date: 23 Nov 1992 09:56:39 GMT Organization: California Institute of Technology, Pasadena Lines: 6 Message-ID: <1eq9snINN8bu@gap.caltech.edu> References: <1emagvINNclf@gap.caltech.edu> <1992Nov22.073943.2912@weyrich.UUCP> NNTP-Posting-Host: sandman.caltech.edu