From: jon@applix.UUCP (Jon Dale)
Subject: Problems with floating point routines in Ultrix 2.0
Date: Wed, 23-Sep-87 15:58:31 EDT [thread overview]
Message-ID: <598@applix.UUCP> (raw)
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
reply other threads:[~1987-09-23 19:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox