This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39032] New: DEC_INFINITY missing from <math.h>
- From: "tydeman at tybor dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2009 00:18:19 -0000
- Subject: [Bug c/39032] New: DEC_INFINITY missing from <math.h>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc 4.3.2-7 with command line option -std=gnu99 of
/* DFP TR 24732 == WG14 / N1176, N1312 */
#define __STDC_WANT_DEC_FP__ /* Tell implementation that we want Decimal FP */
#include <math.h> /* DEC_INFINITY */
_Decimal32 d32 = DEC_INFINITY;
gets:
test2.c:5: warning: ISO C does not support decimal floating point
test2.c:5: error: 'DEC_INFINITY' undeclared here (not in a function)
janis asked to be CCed on DFP bugs
--
Summary: DEC_INFINITY missing from <math.h>
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tydeman at tybor dot com
GCC host triplet: 4.3.2
GCC target triplet: 4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39032