This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/8] float128: Add wrappers for IEEE functions.
- From: "Gabriel F. T. Gomes" <gftg at linux dot vnet dot ibm dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 5 Dec 2016 14:47:54 -0200
- Subject: Re: [PATCH 3/8] float128: Add wrappers for IEEE functions.
- Authentication-results: sourceware.org; auth=none
- References: <1478716859-3246-1-git-send-email-gftg@linux.vnet.ibm.com> <1478716859-3246-4-git-send-email-gftg@linux.vnet.ibm.com> <alpine.DEB.2.20.1611092132390.6428@digraph.polyomino.org.uk>
On Wed, 9 Nov 2016 21:38:07 +0000
Joseph Myers <joseph@codesourcery.com> wrote:
> On Wed, 9 Nov 2016, Gabriel F. T. Gomes wrote:
>
> > From: "Paul E. Murphy" <murphyp@linux.vnet.ibm.com>
> >
> > These are copied from the long double version. posix style
> > errors are assumed, and inlined. Where a function is not
> > defined by TS 18661-3, the wrapper is not implemented.
>
> I don't think float128-specific wrappers like this are appropriate. All
> these wrappers should be type-generic. If you put type-generic wrappers
> as math/w_*_template.c, will the existing wrappers with matherr support
> still take precedence for existing types?
They won't.
The files generated for the functions listed in gen-libm-calls
(in <builddir>/math/) are always generated, regardless of the existence
of the same file in the source dir. And the generated-files take
precedence over the files in the source dir.
Do you have any suggestions on how to proceed?