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>, libc-alpha at sourceware dot org
- Date: Wed, 15 Jun 2016 16:33:51 -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>
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 would be 4 new libm.so functions for <fenv.h>, 60 for <math.h>
> functions (not counting nextup* and nextdown*), and 2-4 for <math.h>
> macros (__iseqsig, __iseqsigf, possibly __iseqsigl and __iscanonicall
> depending on the ABI). float128 support would of course increase those
> last two figures.
>
> Does anyone see other cases where there would be ABI choices to make for
> the implementation?
No, the main ABI choices are made as a consequence of the above work.
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?
--
Cheers,
Carlos.