From owner-freebsd-current Wed Aug 26 19:54:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA18510 for freebsd-current-outgoing; Wed, 26 Aug 1998 19:54:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18505 for ; Wed, 26 Aug 1998 19:54:36 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id MAA15661; Thu, 27 Aug 1998 12:53:36 +1000 Date: Thu, 27 Aug 1998 12:53:36 +1000 From: Bruce Evans Message-Id: <199808270253.MAA15661@godzilla.zeta.org.au> To: bde@zeta.org.au, cracauer@cons.org, current@FreeBSD.ORG, luoqi@watermarkgroup.com, shocking@prth.pgs.com Subject: Re: Floating Point Exceptions, signal handlers & subsequent ops Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Ah, now I got it. > >If sig == SIGFPE, then expect the trap code to be one of FPE_*_TRAP >values from machine/trap.h, *not* one of the T_* values. Except this is not implemented. >Why is this, why two classes of trap codes? T_* is for the kernel and is unportable. FPE_* is for the user SIGFPE handler and is not so unportable in theory. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message