public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39032]  New: DEC_INFINITY missing from <math.h>
@ 2009-01-30  0:18 tydeman at tybor dot com
  2009-01-30  0:19 ` [Bug c/39032] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tydeman at tybor dot com @ 2009-01-30  0:18 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/39032] DEC_INFINITY missing from <math.h>
  2009-01-30  0:18 [Bug c/39032] New: DEC_INFINITY missing from <math.h> tydeman at tybor dot com
@ 2009-01-30  0:19 ` pinskia at gcc dot gnu dot org
  2009-01-30  0:31 ` janis at gcc dot gnu dot org
  2009-01-30  7:15 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-30  0:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-01-30 00:19 -------
math.h is not controlled by the GCC project, so please file it with glibc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39032


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/39032] DEC_INFINITY missing from <math.h>
  2009-01-30  0:18 [Bug c/39032] New: DEC_INFINITY missing from <math.h> tydeman at tybor dot com
  2009-01-30  0:19 ` [Bug c/39032] " pinskia at gcc dot gnu dot org
@ 2009-01-30  0:31 ` janis at gcc dot gnu dot org
  2009-01-30  7:15 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-01-30  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from janis at gcc dot gnu dot org  2009-01-30 00:31 -------
Please don't file a bug report against GLIBC for missing decimal float support
unless you enjoy being yelled at.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39032


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/39032] DEC_INFINITY missing from <math.h>
  2009-01-30  0:18 [Bug c/39032] New: DEC_INFINITY missing from <math.h> tydeman at tybor dot com
  2009-01-30  0:19 ` [Bug c/39032] " pinskia at gcc dot gnu dot org
  2009-01-30  0:31 ` janis at gcc dot gnu dot org
@ 2009-01-30  7:15 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-30  7:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-01-30 07:14 -------
Invalid.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39032


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-30  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30  0:18 [Bug c/39032] New: DEC_INFINITY missing from <math.h> tydeman at tybor dot com
2009-01-30  0:19 ` [Bug c/39032] " pinskia at gcc dot gnu dot org
2009-01-30  0:31 ` janis at gcc dot gnu dot org
2009-01-30  7:15 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).