From owner-freebsd-numerics@FreeBSD.ORG Thu Oct 31 10:46:30 2013 Return-Path: Delivered-To: freebsd-numerics@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8DEA1795 for ; Thu, 31 Oct 2013 10:46:30 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6050721B3 for ; Thu, 31 Oct 2013 10:46:26 +0000 (UTC) Received: from [192.168.0.2] (cpc27-cmbg15-2-0-cust235.5-4.cable.virginm.net [86.27.188.236]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r9VAkIlg028009 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 31 Oct 2013 10:46:19 GMT (envelope-from theraven@FreeBSD.org) From: David Chisnall Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: MUSL math functions Message-Id: Date: Thu, 31 Oct 2013 10:46:15 +0000 To: "freebsd-numerics@FreeBSD.org" Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) 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: Thu, 31 Oct 2013 10:46:30 -0000 Hi all, MUSL (permissively licensed libc for embedded Linux) appears to include = implementations of all of the functions that we're currently missing for = C99 compliance. According to the wiki, we are currently missing: clogf, clog, clogl coshl, sinhl, tanhl cexpl sincosf, sincos, sincosl ccosl, ccoshl, csinl, csinhl, ctanl, ctanhl cacosl, cacoshl, casinl, casinhl, catanl, catanhl erfcl, erfl powl lgammal, tgammal cpowf, cpow, cpowl The following are marked as either in-progress or patches available: clogf, clog, clogl (bde) sincosf, sincos, sincosl (kargl) cacosl, cacoshl, casinl, casinhl, catanl, catanhl (stephen) Are these ready to commit? What are the current blockers for getting = them in? These are present in the MUSL tree. Many are from OpenBSD, some are = home-grown: coshl, sinhl, tanhl ccosl, ccoshl, csinl, csinhl, ctanl, ctanhl erfcl, erfl powl lgammal, tgammal cpowf, cpow, cpowl cexpl is missing Would anyone like to object to importing the ones that are implemented? David