From owner-freebsd-arch@FreeBSD.ORG Mon Aug 17 20:28:30 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2B1106568E for ; Mon, 17 Aug 2009 20:28:30 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id C4B2E8FC61 for ; Mon, 17 Aug 2009 20:28:29 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n7HKDKBB022463; Mon, 17 Aug 2009 16:13:20 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n7HKDJg6022462; Mon, 17 Aug 2009 16:13:19 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Mon, 17 Aug 2009 16:13:19 -0400 From: David Schultz To: Peter Jeremy Message-ID: <20090817201319.GA22437@zim.MIT.EDU> Mail-Followup-To: Peter Jeremy , freebsd-arch@FreeBSD.ORG References: <20090815015947.GA4682@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090815015947.GA4682@server.vk2pj.dyndns.org> Cc: freebsd-arch@FreeBSD.ORG Subject: Re: C99 Complex Math Functions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 20:28:30 -0000 On Sat, Aug 15, 2009, Peter Jeremy wrote: > Hi David, > > I've recently had a requirement for the C99 complex math functions. > I know you have been doing some work on implementing functions in > complex.h and wonder what (if any) plans you have for implementing > the rest of the C99 functions. Which ones do you need? They are on my todo list, but they're not a priority, and I'm swamped right now, so don't hold your breath! Steve Kargle and Bruce Evans also have some interest in this. Many of the functions can be fudged with some simple formulas that you can look up. The simple formulas work great in most cases, but often fail near asymptotes and for special cases (infinity, NaN, underflow, etc.)