This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 3/3] Macroize function declarations in math_private.h
- 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, 24 Apr 2017 15:23:48 -0300
- Subject: Re: [PATCH v3 3/3] Macroize function declarations in math_private.h
- Authentication-results: sourceware.org; auth=none
- References: <1490733875-20087-4-git-send-email-gftg@linux.vnet.ibm.com> <1490875392-25833-1-git-send-email-gftg@linux.vnet.ibm.com> <alpine.DEB.2.20.1704192151220.9217@digraph.polyomino.org.uk>
On Wed, 19 Apr 2017 21:52:08 +0000
Joseph Myers <joseph@codesourcery.com> wrote:
> On Thu, 30 Mar 2017, Gabriel F. T. Gomes wrote:
>
> > This patch moves the declaration of many floating-point functions from
> > math_private.h to math_private_calls.h and macroize the declaration to
> > be dependent on floating-point type. For each of float, double, and
> > long double, the new header file is included once. This reduces the
> > amount of repetitive boilerplate that will be required when adding
> > float128 versions of these functions.
> >
> > Tested for powerpc64le and s390x.
> >
> > 2017-03-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
> >
> > * sysdeps/generic/math_private.h: Move the declaration of many
> > functions to sysdeps/generic/math_private_calls.h.
> > * sysdeps/generic/math_private_calls.h: New file with the
> > declarations of the functions removed from math_private.h
> > macroized by floating-point type.
>
> OK.
>
Thanks. Pushed as 9581e76dbb4a.