From owner-cvs-all@FreeBSD.ORG Sat Oct 25 11:37:39 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EECC16A4B3; Sat, 25 Oct 2003 11:37:39 -0700 (PDT) Received: from VARK.homeunix.com (adsl-68-123-140-7.dsl.pltn13.pacbell.net [68.123.140.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C8643F75; Sat, 25 Oct 2003 11:37:34 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id h9PIb2en017978; Sat, 25 Oct 2003 11:37:02 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id h9PIb1pX017977; Sat, 25 Oct 2003 11:37:01 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Sat, 25 Oct 2003 11:37:01 -0700 From: David Schultz To: "Dag-Erling =?us-ascii:iso-8859-1?Q?Sm=F8rgrav?=" Message-ID: <20031025183701.GA17838@VARK.homeunix.com> Mail-Followup-To: "Dag-Erling =?us-ascii:iso-8859-1?Q?Sm=F8rgrav?=" , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200310230820.h9N8KlSD025966@repoman.freebsd.org> <20031024083336.GA10360@VARK.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/msun/src fabsl.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 18:37:39 -0000 On Fri, Oct 24, 2003, Dag-Erling Smrgrav wrote: > David Schultz writes: > > Cool. This has a minor bug in that it does the wrong thing for -0. > > I'd like to use your solution[1] instead, but it requires quite a bit > more work as fpmath.h isn't normally installed. As I recall, the only reason fpmath.h was kept internal to libc rather than being placed in ${arch}/include was to prevent applications from using it. In any case, your simple solution works just fine, modulo the -0 handling. If anyone has a good idea about what to do with fpmath.h, the implementation can be changed later.