🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #4734

Problems with floating point routines in Ultrix 2.0

#4734
From: Jon Dale
Date: Wed, 23 Sep 1987 19:58
13 lines
1259 bytes
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
Technical Details
Message-ID: <598@applix.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!nbires!hao!boulder!sunybcs!rutgers!husc6!spdcc!m2c!applix!jon

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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