New math library from ARM

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Dec 31 15:22:32 UTC 2018


On Mon, Dec 31, 2018 at 07:19:04AM -0800, Steve Kargl wrote:
> On Mon, Dec 31, 2018 at 10:06:57AM -0500, Pedro Giffuni wrote:
> > Hi;
> > 
> > Just noted a recent initiative from musl-libc:
> > 
> > https://www.openwall.com/lists/musl/2018/12/08/1
> > 
> > It appears they plan to replace their (FreeBSD) math code with a new ARM 
> > implementation:
> > 
> > https://github.com/ARM-software/optimized-routines
> > 
> 
> The Copyright on this code is unclear.  For example, in
> single/e_rem_pio2.c  lines 1-6:
> 
> /*
>  * e_rem_pio2.c
>  *
>  * Copyright (c) 1999-2018, Arm Limited.
>  * SPDX-License-Identifier: MIT
>  */
> 
> Then lines 16-18:
> 
>     /*
>      * Simple cases: all nicked from the fdlibm version for speed.
>      */
> 
> The original fdlibm licenses applies ot the nicked lines.
> 

There is also some interesting uses of float literal constants
with 80 digits when at most 9 are relevant.

-- 
Steve


More information about the freebsd-numerics mailing list