From owner-freebsd-standards Fri Feb 7 10:25:10 2003 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 023A137B401; Fri, 7 Feb 2003 10:25:10 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 407AA43FCB; Fri, 7 Feb 2003 10:25:09 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.6/8.12.6) with ESMTP id h17IP7bs081763 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 7 Feb 2003 13:25:08 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.6/8.12.6/Submit) id h17IP4s7081758; Fri, 7 Feb 2003 13:25:04 -0500 (EST) (envelope-from wollman) Date: Fri, 7 Feb 2003 13:25:04 -0500 (EST) From: Garrett Wollman Message-Id: <200302071825.h17IP4s7081758@khavrinen.lcs.mit.edu> To: Mike Barcroft Cc: standards@FreeBSD.ORG, Bruce Evans Subject: fpclassify() for review In-Reply-To: <20030206224455.B78590@espresso.q9media.com> References: <20030206224455.B78590@espresso.q9media.com> 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 I think that, if we had some help from the compiler, it ought to be possible to implement FLT_EVAL_METHOD == 2 for i386, and that's probably the closest to the actual hardware implementation. Something similar to Kahan's PARANOIA ought to be able to distinguish the various methods and thereby serve as a regression test. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message