[PATCH v3 3/3] Macroize function declarations in math_private.h

Gabriel F. T. Gomes gftg@linux.vnet.ibm.com
Mon Apr 24 18:24:00 GMT 2017


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.



More information about the Libc-alpha mailing list