This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: TS 18661-1 floating-point interfaces
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 16 Jun 2016 12:35:24 -0400
- Subject: Re: RFC: TS 18661-1 floating-point interfaces
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 20 dot 1606110002590 dot 11788 at digraph dot polyomino dot org dot uk> <b8b30d88-031c-be18-c4be-f09d5b1085da at redhat dot com> <alpine dot DEB dot 2 dot 20 dot 1606152210520 dot 13501 at digraph dot polyomino dot org dot uk>
On 06/15/2016 06:13 PM, Joseph Myers wrote:
> On Wed, 15 Jun 2016, Carlos O'Donell wrote:
>
>> On 06/10/2016 08:58 PM, Joseph Myers wrote:
>>> ISO/IEC TS 18661-1:2014 provides C interfaces for various required
>>> features of IEEE 754-2008, analogous to the support for IEEE 754-1985
>>> added in C99.
>>
>> This looks good to me.
>
> There's a question in there about grouping APIs for inclusion (all
> together versus particular well-defined groups potentially going in
> separately).
I think this is a matter of taste. Either one is fine from my perspective.
My worry would be that there are subtle interdependencies that make splitting
them into groups harder than you might think initially.
>> The only thing I note is that you suggested implementation of all of
>> TS 18661-1, but oddly absent from this plan are the additions to
>> stdlib.h e.g. strfromd? Did I miss something?
>
> Those are expected to be included in the preparations for float128
> support, like nextup and nextdown functions.
OK, thanks.
--
Cheers,
Carlos.