New math library from ARM
Pedro Giffuni
pfg at FreeBSD.org
Mon Jan 14 15:19:38 UTC 2019
On 12/31/18 10:22 AM, Steve Kargl wrote:
> 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.
>>
FWIW, I opened a ticket about the license issue.
> There is also some interesting uses of float literal constants
> with 80 digits when at most 9 are relevant.
>
I noticed, and really like, that they have a testsuite that Android's
bionic just merged:
https://android.googlesource.com/platform/external/arm-optimized-routines/+/4ced35fcfcda5baddd092390103b7370827b9429
Pedro.
More information about the freebsd-numerics
mailing list