From owner-freebsd-standards@FreeBSD.ORG Tue Oct 2 21:15:07 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 E799316A420 for ; Tue, 2 Oct 2007 21:15:07 +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 0C38E13C4A3 for ; Tue, 2 Oct 2007 21:15:06 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.1/8.14.1) with ESMTP id l92LEvkp096756; Tue, 2 Oct 2007 17:14:57 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.1/8.14.1/Submit) id l92LEvW0096755; Tue, 2 Oct 2007 17:14:57 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Tue, 2 Oct 2007 17:14:57 -0400 From: David Schultz To: Steve Kargl Message-ID: <20071002211457.GA96707@VARK.MIT.EDU> Mail-Followup-To: Steve Kargl , Bruce Evans , 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071002173237.GA12586@troutmask.apl.washington.edu> Cc: freebsd-standards@FreeBSD.ORG 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: Tue, 02 Oct 2007 21:15:08 -0000 On Tue, Oct 02, 2007, Steve Kargl wrote: > There are a few problems: 1) I don't have commit access. 2) I > need to do style(9) clean-up pass. 3) I've only tested these > on i386 and amd64, and I know these fail for sparc64. 4) Most > importantly, I don't know how the project wants to handle the > 53 vs 64 bit default fpu setting on i386. > > PS: There is also the minor possibility of giving bde either > a heartache or death via laughter when he finally sees what I > have done. :) I have some other stuff in my tree that I need to commit at some point, so I can throw it your changes too. It needs to wait until after SOSP though. We should see about getting you commit access some time. I don't have time to be a very good mentor at the moment, but maybe someone else could. For the 128-bit format used on sparc64, you probably need a separate implementation (or at least different constants), but hopefully that's not too hard once you've done it once. Dealing with our reduced precision on x86 is easy, since in that case you can just fall back on the ordinary sin() routine.