Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@dot.cygnus.com>
Subject: Re: FPE signals - how to turn off?
Date: Thu, 2 Oct 1997 09:10:25 -0700	[thread overview]
Message-ID: <0c2b48bc03635201517a4708a9ebe19b.axp-list@archive.invalid> (raw)
In-Reply-To: <343397C8.1BABCFF8@voicenet.com>

On Thu, Oct 02, 1997 at 08:47:05AM -0400, Uncle George scribbled:
>
> no, how ( of if FPE ) errors (signals ) are to be reported (or fixed and sent
> ) back to the user

__ieee_set_fp_control(0) masks all FPE signals.  You can retrieve
the acrued exceptions via __ieee_get_fp_control(); see <asm/fpu.h>
for the bits to check there.

Glibc 2.1 will provide the ISO C 9x <fenv.h> access routines for 
this purpose.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-10-02 16:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <343397C8.1BABCFF8@voicenet.com>
1997-10-02 16:10 ` Richard Henderson [this message]
1997-10-02 12:47 FPE signals - how to turn off? Uncle George
     [not found] <343128EE.AE716F52@voicenet.com>
1997-10-02  6:11 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-09-30 16:29 Uncle George
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