This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6981] __STDC_IEC_559__ should not be defined unconditionally
- From: "vincent-srcware at vinc17 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 08 Feb 2014 02:00:41 +0000
- Subject: [Bug libc/6981] __STDC_IEC_559__ should not be defined unconditionally
- Auto-submitted: auto-generated
- References: <bug-6981-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=6981
--- Comment #13 from Vincent LefÃvre <vincent-srcware at vinc17 dot net> ---
(In reply to joseph@codesourcery.com from comment #12)
> On Sat, 8 Feb 2014, vincent-srcware at vinc17 dot net wrote:
>
> > But the IEEE 754 standard requires it to be supported (see citation above).
>
> If so, then C99 and C11 do not provide complete bindings to IEEE 754-1985
> for all implementation choices conforming to Annex F.
The bindings are complete when FLT_EVAL_METHOD is 0, because in such a case an
operation on float numbers is rounded to the float precision, and an operation
on double numbers is rounded to the double precision. That's why I suggested to
define __STDC_IEC_559__ only when FLT_EVAL_METHOD is 0, until the new TS is
implemented.
--
You are receiving this mail because:
You are on the CC list for the bug.