This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Updating NEWS for 2.26
On Wed, Jul 5, 2017 at 12:55 PM, Joseph Myers <joseph@codesourcery.com> wrote:
>
> * On ia64, powerpc64le, x86-32, and x86-64, the math library now implements
> 128-bit floating point as defined by ISO/IEC/IEEE 60559:2011 (IEEE
> 754-2008) and ISO/IEC TS 18661-3:2015. Contributed by Paul E. Murphy,
> Gabriel F. T. Gomes, Tulio Magno Quites Machado Filho, and Joseph Myers.
>
> To compile programs that use this feature, the compiler must support
> 128-bit floating point with the type name _Float128 (as defined by TS
> 18661-3) or __float128 (the nonstandard name used by GCC for C++, and for
> C prior to version 7). _GNU_SOURCE or __STDC_WANT_IEC_60559_TYPES_EXT__
> must be defined to make the new interfaces visible.
>
> The new functions and macros correspond to those present for other
> floating-point types (except for a few obsolescent interfaces not
> supported for the new type), with F128 or f128 suffixes; for example,
> strtof128, HUGE_VAL_F128 and cosf128. Following TS 18661-3, there are no
> printf or scanf formats for the new type; the strfromf128 and strtof128
> interfaces should be used instead.
This also looks reasonable to me.