[PATCH v2 1/9] float128: Extend the power of ten tables

Joseph Myers joseph@codesourcery.com
Tue Jun 6 15:29:00 GMT 2017


On Fri, 2 Jun 2017, Gabriel F. T. Gomes wrote:

> From: "Paul E. Murphy" <murphyp@linux.vnet.ibm.com>
> 
> Changes since v1:
> 
>   - Renamed the definition of the macro HAVE_EXTENDED_RANGE to
>     FPIOCONST_HAVE_EXTENDED_RANGE and moved it to fpioconst.h to avoid
>     duplicating the conditional.  And fixed line wrapping.
> 
> -- 8< --
> Update the power of ten tables used by the common implementation when long
> double is not the most expressive real type.
> 
> 2016-11-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
> 
> 	* stdlib/fpioconst.h: Include bits/floatn.h.
> 	(FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
> 	power of ten table should be.
> 	(FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
> 	* stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
> 	to include larger tables when _Float128 support is enabled.
> 	(_fpioconst_pow10): Likewise.

This patch is OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list