<bits/features.h> setting of __STDC_IEC_559__ not universally accurate

Ulrich Drepper drepper@redhat.com
Tue Mar 29 00:28:00 GMT 2005


Mark Mitchell wrote:
> At present, <bits/features.h> unconditionally sets __STDC_IEC_559__ to
> 1.  This is not accurate on (at least) ARM platforms using software
> floating-point.  On those platforms, <fenv.h> does not define
> FE_INEXACT, and friends, because the software floating-point emulation
> provided by libgcc does not honor those rounding modes.  According to
> the C99 standard, that would seem to preclude setting __STDC_IEC_559__.

The interface glibc provides requires this.  If the broken arm runtime
cannot handle it, fix it.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050329/95924e87/attachment.sig>


More information about the Libc-alpha mailing list