public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/3865: numeric_limits<double>::has_infinity is set to false
@ 2002-10-31 13:23 paolo
  0 siblings, 0 replies; 4+ messages in thread
From: paolo @ 2002-10-31 13:23 UTC (permalink / raw)
  To: coola, ecohen, gcc-bugs, gcc-prs, gdr

Synopsis: numeric_limits<double>::has_infinity is set to false

State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Thu Oct 31 13:23:39 2002
State-Changed-Why:
    Fixed for 3.3. Since it isn't a regression will not be fixed
    in the 3.2.x series.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3865


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

* Re: libstdc++/3865: numeric_limits<double>::has_infinity is set to false
@ 2001-08-24 17:30 bkoz
  0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2001-08-24 17:30 UTC (permalink / raw)
  To: ecohen, gcc-bugs, gcc-prs, gdr, nobody

Synopsis: numeric_limits<double>::has_infinity is set to false

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: bkoz
Responsible-Changed-When: Fri Aug 24 17:30:07 2001
Responsible-Changed-Why:
    not quite sure this is still an issue: can you take a look at it please?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3865&database=gcc


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

* Re: libstdc++/3865: numeric_limits<double>::has_infinity is set to false
@ 2001-07-29  2:16 Gabriel Dos Reis
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel Dos Reis @ 2001-07-29  2:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/3865; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@codesourcery.com>
To: ecohen@angeles.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/3865: numeric_limits<double>::has_infinity is set to false
Date: 29 Jul 2001 11:13:26 +0200

 ecohen@angeles.com writes:
 
 | The template specialization numeric_limits<double> (and float and long double) have the 'has_infinity' member set to false. They also return a zero value for infinity and do not implement the NaN functions.
 
 This is not a bug and is no my TODO list.
 
 Thanks,
 
 -- Gaby


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

* libstdc++/3865: numeric_limits<double>::has_infinity is set to false
@ 2001-07-28 22:56 ecohen
  0 siblings, 0 replies; 4+ messages in thread
From: ecohen @ 2001-07-28 22:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3865
>Category:       libstdc++
>Synopsis:       numeric_limits<double>::has_infinity is set to false
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 22:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     ecohen@angeles.com
>Release:        gcc-3.0
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
The template specialization numeric_limits<double> (and float and long double) have the 'has_infinity' member set to false. They also return a zero value for infinity and do not implement the NaN functions.
>How-To-Repeat:
------ start of test.cpp
#include <iostream>
#include <limits>

main() {
        std::cout 
                << "has infinity " << std::numeric_limits<double>::has_infinity 
<< "\n"
                << "inifinity " << std::numeric_limits<double>::infinity() << "\
n";
}
------ end of test.cpp

compile output:

% g++ -v test.cpp 
Reading specs from /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/specs
Configured with: ../gcc-3.0/configure --prefix=/disk3/users/ecohen/GNU/INSTALL/sol2 --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 3.0
 /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/cc1plus -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__ -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc test.cpp -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase test.cpp -version -o /var/tmp/ccptgqdX.s
GNU CPP version 3.0 (cpplib) (sparc)
GNU C++ version 3.0 (sparc-sun-solaris2.7)
        compiled by GNU C version 3.0.
ignoring nonexistent directory "/disk3/users/ecohen/GNU/INSTALL/sol2/sparc-sun-solaris2.7/include"
#include "..." search starts here:
#include <...> search starts here:
 /disk3/users/ecohen/GNU/INSTALL/sol2/include/g++-v3
 /disk3/users/ecohen/GNU/INSTALL/sol2/include/g++-v3/sparc-sun-solaris2.7
 /disk3/users/ecohen/GNU/INSTALL/sol2/include/g++-v3/backward
 /usr/local/include
 /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/include
 /usr/include
End of search list.
 /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/../../../../sparc-sun-solaris2.7/bin/as --traditional-format -V -Qy -s -o /var/tmp/ccypvOuv.o /var/tmp/ccptgqdX.s
GNU assembler version 2.11.2 (sparc-sun-solaris2.7) using BFD version 2.11.2
 /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/crt1.o /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/crti.o /usr/ccs/lib/values-Xa.o /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/crtbegin.o -L/disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0 -L/disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/../../../../sparc-sun-solaris2.7/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/../../.. /var/tmp/ccypvOuv.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/crtend.o /disk3/users/ecohen/GNU/INSTALL/sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.0/crtn.o
GNU ld version 2.11.2 (with BFD 2.11.2)
  Supported emulations:
   elf32_sparc
   elf64_sparc

Run output:

% a.out
has infinity 0
inifinity 0
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-10-31 21:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-31 13:23 libstdc++/3865: numeric_limits<double>::has_infinity is set to false paolo
  -- strict thread matches above, loose matches on Subject: below --
2001-08-24 17:30 bkoz
2001-07-29  2:16 Gabriel Dos Reis
2001-07-28 22:56 ecohen

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).