From owner-freebsd-standards@FreeBSD.ORG Mon Dec 3 17:11:48 2007 Return-Path: Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4570816A419 for ; Mon, 3 Dec 2007 17:11:48 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.freebsd.org (Postfix) with ESMTP id 0C59913C46B for ; Mon, 3 Dec 2007 17:11:47 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.2/8.14.1) with ESMTP id lB3HBfgu013426; Mon, 3 Dec 2007 12:11:41 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.2/8.14.1/Submit) id lB3HBe1e013425; Mon, 3 Dec 2007 12:11:40 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Mon, 3 Dec 2007 12:11:40 -0500 From: David Schultz To: Bruce Evans Message-ID: <20071203171140.GA13355@VARK.MIT.EDU> Mail-Followup-To: Bruce Evans , Steve Kargl , freebsd-standards@FreeBSD.ORG References: <20070928152227.GA39233@troutmask.apl.washington.edu> <20071001173736.U1985@besplex.bde.org> <20071002001154.GA3782@troutmask.apl.washington.edu> <20071002172317.GA95181@VARK.MIT.EDU> <20071002173237.GA12586@troutmask.apl.washington.edu> <20071003103519.X14175@delplex.bde.org> <20071010204249.GA7446@troutmask.apl.washington.edu> <20071203074407.GA10989@VARK.MIT.EDU> <20071203214940.A1141@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071203214940.A1141@delplex.bde.org> Cc: freebsd-standards@FreeBSD.ORG, Steve Kargl Subject: Re: long double broken on i386? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 17:11:48 -0000 On Mon, Dec 03, 2007, Bruce Evans wrote: > On Mon, 3 Dec 2007, David Schultz wrote: > > >Is the latest version of the patch the one you sent to the list? > >If cosl and friends produce accurate answers within a reasonable > >domain, it's worth committing; the whole business about how > >accurate cosl(1000000000) is can be dealt with later. > > Well, it doesn't work for: > i386 (long double is broken in general) > pc98 (like i386) > sparc64 (long double is longer) > sun4v (like sparc64), > and is irrelevant for: > alpha (long double = double, and alpha = unsupported) > arm (long double = double) > amd64 (should use trivial assembler code until plain cos and friends > on i386 are more accurate than the hardware) > i386 (like amd64, except not using the hardware would be sillier) > pc98 (like i386) > powerpc (long double = double) > so its relevance is limited to: > ia64 (long doubles have same precision as on i386, but cos and friends > are not in hardware so trivial assembler code cannot be used). Okay, but realistically, the only one of these complaints that's an impediment to committing the code is the lack of 128-bit long double support for sparc64.