From owner-freebsd-standards Sat Mar 16 18:22: 5 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 9D2BE37B402 for ; Sat, 16 Mar 2002 18:22:03 -0800 (PST) Received: from windriver.com (IDENT:root@pburas.epilogue.com [128.224.4.10]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id SAA29586; Sat, 16 Mar 2002 18:21:33 -0800 (PST) Message-ID: <3C93FEDB.5179AAE5@windriver.com> Date: Sat, 16 Mar 2002 21:26:35 -0500 From: Tadayuki OKADA X-Mailer: Mozilla 4.79C-ja [ja_JP.EUC] (X11; U; Linux 2.4.2 i386) X-Accept-Language: ja, en MIME-Version: 1.0 To: Bruce Evans Cc: Tadayuki OKADA , standards@freebsd.org Subject: Re: _MULTI_LIBM References: <20020317113138.E34997-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > C99 permits both but requires neither. Also, it specifies "exceptions" > more clearly -- math errors may raise exceptions by just setting an > exception flag; a SIGFPE for this is permitted but not required. There > is no standard way to tell if you will get SIGFPE's. I think POSIX > intends to say the same, but I couldn't find where it connects > "floating-point exception" with "SIGFPE". There's a table describing the reason of signals. from POSIX.1-2001 Base Definitions Chapter13 Headers : SIGFPE FPE_INTDIV Integer divide by zero. FPE_INTOVF Integer overflow. FPE_FLTDIV Floating-point divide by zero. FPE_FLTOVF Floating-point overflow. FPE_FLTUND Floating-point underflow. FPE_FLTRES Floating-point inexact result. FPE_FLTINV Invalid floating-point operation. FPE_FLTSUB Subscript out of range. Regards, -- Tadayuki OKADA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message