From owner-freebsd-numerics@FreeBSD.ORG Sun May 19 18:29:41 2013 Return-Path: Delivered-To: freebsd-numerics@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 504A0B8B for ; Sun, 19 May 2013 18:29:41 +0000 (UTC) (envelope-from s.montgomerysmith@gmail.com) Received: from mail-ia0-x232.google.com (mail-ia0-x232.google.com [IPv6:2607:f8b0:4001:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id 23E922ED for ; Sun, 19 May 2013 18:29:41 +0000 (UTC) Received: by mail-ia0-f178.google.com with SMTP id i9so6970097iad.9 for ; Sun, 19 May 2013 11:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=U2G216ob912Vw/K6gxR1zHoTgv4ebfR46sKyTNtWECk=; b=vyx1P1gvJDT32rr+Q8eTLXKs8e92Kv5hvvA5UdLPUpxG5AbABsL789fQzah3YY7gYC kQLapNJjiDENYneqzLOEs3bax31yGQzDMxWKn/0Eua65GQ2rofKCxAtoGmWJ4Lau4+wr r4Q1PIvzuQor0LHwg5/MvVZtHeBGsUjJhNKGvx4VidQK3ZjTgsWixwKmGGVoISf3LuSw lZ6lyVZr0/FZC+1/V/Nv7tDpvnl1hT6dUW6LvZYiQp7e49ZUt85t5CjVVBc/FGmd7dX4 NMYk8WZLZ7NKTrVrRUo/Zq5itvmNYP0IB6t+doUgTe/3iSf0rWEXAoYWVGkSi0fYZ8eO 0pGg== X-Received: by 10.50.22.98 with SMTP id c2mr1162081igf.52.1368988180849; Sun, 19 May 2013 11:29:40 -0700 (PDT) Received: from [192.168.0.11] (50-82-246-58.client.mchsi.com. [50.82.246.58]) by mx.google.com with ESMTPSA id o10sm7906826igh.2.2013.05.19.11.29.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 May 2013 11:29:39 -0700 (PDT) Sender: Stephen Montgomery-Smith Message-ID: <51991A10.70103@missouri.edu> Date: Sun, 19 May 2013 13:29:36 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-numerics@freebsd.org Subject: C99 Complex Functions: was: C99 Long Double Math Functions References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 18:29:41 -0000 On 05/19/2013 11:10 AM, David Chisnall wrote: > Hi Everyone, > > In February, lots of people had code ready to commit for the C99 long double math.h functions. This code is still not in and is an increasingly serious problem for a lot of software. Two weeks from today, I will commit a patch that just calls the double versions of these for all of the long double functions. If you have a better implementation of any of them, please commit it before then. Style nits can be worked out later. Small bugs in corner cases can also be fixed later: it is far worse for us to have no implementation of these than to have a slightly buggy one, because it just drives people to use platforms that have very buggy versions of them instead of FreeBSD. > > David > With his Core hat on I have implementations of the complex arc-trig functions. I have been given some style changes. But I would rather someone else take them over and fix the style issues. I think they are ready to be committed even without the style fixes. They are MUCH more accurate than the corresponding Linux versions. http://people.freebsd.org/~stephen/ http://www.math.missouri.edu/~stephen/software/#catrig Also, I think someone has working versions of clog and clogl. Let's light this candle, and get committing.