Date: Thu, 27 Nov 2025 10:34:17 -0800 From: Steve Kargl <kargls@comcast.net> To: freebsd-numerics@freebsd.org Subject: Re: C23 support for libm Message-ID: <61a97b08-f65e-471f-9f5a-8f78f7ec396d@comcast.net> In-Reply-To: <aSiK3xDpJav-vsdP@fuz.su> References: <aSiK3xDpJav-vsdP@fuz.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/27/25 09:31, Robert Clausecker wrote:
> Greetings!
>
> I have started a project page [1] to track our effort to support C23
> on FreeBSD. Many new and exciting libm functions were added in this
> standard revision, and it seems like so far we only have
> {sin,cos,tan}pi{,f,l}() implemented (thanks to kargl for the work!)
>
> If anybody is interested in working on this, please let me know.
> I am not an expert in numerical programming, but will try ot look
> into adding some of these if nobody else comes forth.
>
Last time I looked, there are 6 or so functions from C99 that are
still not implemented. I don't remember if new functions appeared
in C11.
I'll also suggest that pulling in functions from other projects
(e.g., cephus) without thorough testing should be frowned upon.
There are a few examples of this already in libm, which have
accuracy issues and bugs.
As usual and time permitting, I'll slowly peck away the
unimplemented functions.
--
steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61a97b08-f65e-471f-9f5a-8f78f7ec396d>
