Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!brl-adm!adm!reschly@BRL.ARPA From: reschly@BRL.ARPA Newsgroups: comp.lang.c Subject: Re: Help in dealing with floating point exceptions in C on UNIX/VAX Message-ID: <4473@brl-adm.ARPA> Date: Sun, 15-Feb-87 17:15:27 EST Article-I.D.: brl-adm.4473 Posted: Sun Feb 15 17:15:27 1987 Date-Received: Mon, 16-Feb-87 03:42:08 EST Sender: news@brl-adm.ARPA Lines: 17 Tom, A man page with the name matherr shows up on both a Gould 6080 running UTX 2.0 (very close to 4.3BSD), and on a VAX 11/780 running 4.3BSD when using Doug Gwyn's SysV under 4.n emulation. Note that on the VAX it does not show up in the 4.3BSD man pages; just the SysV pages. I think (but am not sure since I am not a regular user of SysV) that Doug's stuff is currently at SysVR2. Essentially this man page explains a "hook" into the math library. The function matherr(x) is invoked by the math library when errors occur, giving the user the opportunity to determine what gets returned to the program, and whether to continue execution or to abort. Later, Bob