Date: Wed, 20 Oct 1999 14:13:35 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Wendy E. McCaughrin" cc: djgpp AT delorie DOT com Subject: Re: What is proper protocol for matherr()? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 20 Oct 1999, Wendy E. McCaughrin wrote: > What is supposed to happen if a user returns 0 from > matherr() (indicating no fix to problem)? Does the > function abort? `matherr' never causes the program to abort; if you want to abort the program, you need to do it yourself in the version of `matherr' you supply. In general, `matherr' is not supposed to abort the program, just to cope with numerical errors so that the program does NOT abort in the first place. Did you read the docs of `matherr'? If not, I suggest to do it, 'cause I think it will answer many of your questions. From the DOS prompt, type "info libc matherr" and read there. Additional info is available by typing "info libc libm".