Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nbires!hao!boulder!sunybcs!rutgers!husc6!spdcc!m2c!applix!jon From: jon@applix.UUCP (Jon Dale) Newsgroups: comp.sys.dec Subject: Problems with floating point routines in Ultrix 2.0 Message-ID: <598@applix.UUCP> Date: Wed, 23-Sep-87 15:58:31 EDT Article-I.D.: applix.598 Posted: Wed Sep 23 15:58:31 1987 Date-Received: Sat, 26-Sep-87 08:11:57 EDT Organization: APPLiX Inc., Westboro MA Lines: 13 Keywords: floating point pow overflow underflow we have found some problems with the math libraries in Ultrix 2.0 running on a VAX 8600. Specifically, using the "power" function "pow", an overflow condition results in a SIGILL (illegal instruction), and and underflow does not result in any notification at all, you just get a zero back. The first of these causes the most significant problems. Ultrix 1.2 correctly reported the overflow as a SIGFPE (floating point exception), and did not report the underflow. The test routine is written in "C" and linked with the standard -lm switch. Anyone know a fix or workaround so I can avoid crashing on a floating point overflow?? What's the problem here? Jon Dale APPLiX ...ames!harvard!m2c!applix!jon