Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Eberhard Burr <Eberhard.Burr@gmx.de>
Subject: Re: Floating point exceptions
Date: 1999/09/23	[thread overview]
Message-ID: <87n1udo8mp.fsf@gmx.de> (raw)
In-Reply-To: 7sdiab$bas$1@nnrp1.deja.com

hinsen@cnrs-orleans.fr writes:

> But then I'd have to do all error handling myself. What I want is the
> documented error reporting behaviour of the math library, i.e. an error code
> in the global variable errno, because some routines in my code rely on it. In
> fact, the current behaviour of the machine violates the ANSI standard,
> according to my knowledge. I suppose someone must have noticed this before!

Sure. It was the first question I posted on cola too; it has come up
four times since and I only own my Alpha for two months now...

If you don't want to fiddle with the code, just add -mieee to your
compiler options and be happy; if you want to squeeze the best
performance out of your alpha, the math library from Compaq is for
you.

kind Regards,
-- 
Eberhard Burr    check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
                 for PGP Key -- #include <stddisc.h> -- electric cookie follows
Death is nature's way of saying `Howdy'.



  reply	other threads:[~1999-09-23  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-23  4:00 Floating point exceptions hinsen
1999-09-23  4:00 ` Eberhard Burr [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-23  4:00 Konrad Hinsen
1999-09-23  4:00 ` Joerg Schmalzl
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