infinity definition in `numeric_limits' for `float' and `double'
is missing on the platform while it obviously should not
System: Linux localhost 2.2.14-5.0 #19 Tue Jul 24 02:12:27 NOVST 2001 i586 unknown
configured with: ../gcc-3.0.3/configure --enable-languages=c,c++ --disable-nls
See attachments for nlimits_bug.ii.bz2
fix STL source code. In my opinion the `limits' header should
be shaped during the configuration process for every particular
Responsible-Changed-Why: Gaby, I'm assigning this to you as the <limits> maintainer.
State-Changed-Why: This is the testcase at issue:
std::cout << std::numeric_limits<double>::infinity() << '\n';
In my opinion, returning char(), being has_infinity false,
cannot be considered wrong from the point of view of
standard conformance. However, on i686-linux, we could
expect has_infinity == true and infinity returning "inf",
State-Changed-Why: I'm closing the PR, since it is in fact a known issue,
documented by libstdc++/3865.
However, Gaby, it would be nice if you could state in some
more detail your position, perhaps as part of 3865 audit
trail. Is it a QoI issue? Are you actually working on
From: Gabriel Dos Reis <firstname.lastname@example.org>
Cc: email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org,
Subject: Re: libstdc++/5527: incorrect support for infinity in `numeric_limits<double|float>' on Linux/Intel
Date: 31 Jan 2002 17:21:14 +0100
| standard conformance. However, on i686-linux, we could
That is a known issue.