Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 13 Mar 2012 02:37:31 -0400
From: Rich Felker <>
Subject: new libm

Hi all,
Thanks to Szabolcs Nagy (nsz), musl now has a modern, up-to-date math
library. That means:
- float and long double versions of math functions
- complex number support
- type generic math
- hopefully fewer bugs :-)

Code is based mostly on freebsd, and in some cases on openbsd, both of
which originally derive from fdlibm (Sun).

The code has been cleaned up quite a bit and reorganized to eliminate
the confusing and often arbitrary k_/s_/e_/etc. filename system and
instead focus on what public interface or internal __-prefixed
function the translation unit is implementing.

At this point arch-specific assembly is minimal, even moreso than
previously in musl. Now that the code is in-place and working, we can
begin to optimize it again, and be more careful not to introduce
incorrect optimized versions.

This brings us to the point of supporting almost every interface in
C99 and POSIX base. The few remaining ones will be addressed soon.

If no bugs are found in early testing of the new math library
integration, I'll plan to release 0.8.7 sometime soon, hopefully
within the next week, and aim to have the finishing touches to get us
to 0.9-series completed within around a month.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.