Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Problems with floating point routines in Ultrix 2.0
@ 1987-09-23 19:58 Jon Dale
  0 siblings, 0 replies; only message in thread
From: Jon Dale @ 1987-09-23 19:58 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1987-09-23 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1987-09-23 19:58 Problems with floating point routines in Ultrix 2.0 Jon Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox