From owner-freebsd-current@FreeBSD.ORG Mon May 28 20:32:05 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 668C3106564A for ; Mon, 28 May 2012 20:32:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 41D5E8FC1F for ; Mon, 28 May 2012 20:32:05 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id q4SKVxuv076404; Mon, 28 May 2012 13:31:59 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id q4SKVxB0076403; Mon, 28 May 2012 13:31:59 -0700 (PDT) (envelope-from sgk) Date: Mon, 28 May 2012 13:31:59 -0700 From: Steve Kargl To: Stephen Montgomery-Smith Message-ID: <20120528203159.GA76340@troutmask.apl.washington.edu> References: <4FC30090.4070003@gwdg.de> <4D8CF7D2-CBEE-438E-A9E7-9C47A8892622@FreeBSD.org> <4FC36FE1.9080908@gwdg.de> <4FC38B81.6000302@gwdg.de> <4FC3A154.8030702@missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FC3A154.8030702@missouri.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Use of C99 extra long double math functions after r236148 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 20:32:05 -0000 On Mon, May 28, 2012 at 11:01:24AM -0500, Stephen Montgomery-Smith wrote: > One thing that could be done is to have a "math/cephes" port that adds > the extra C99 math functions. This is already done in the math/sage > port, using a rather clever patch due to Peter Jeremy, that applies to > the cephes code. > > What it would do is to create a /usr/local/lib/libm.so that would > provide the extra functions not currently included in /lib/libm.so, and > then link in /lib/libm.so as well. It would also create its own > /usr/local/include/math.h and /usr/local/include/complex.h as well. > > What do you guys think? Do you want someone to start experimenting with > this idea? I could do it, but probably not for a little while. > This is a horrible, horrible, horrible idea. Have you looked at the cephes code, particularly the complex.h functions? -- Steve