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