Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 10:46:15 +0000
From:      David Chisnall <theraven@FreeBSD.org>
To:        "freebsd-numerics@FreeBSD.org" <freebsd-numerics@FreeBSD.org>
Subject:   MUSL math functions
Message-ID:  <DFD5EA35-ABDA-4A09-BFC7-9452D650C7FE@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFD5EA35-ABDA-4A09-BFC7-9452D650C7FE>