This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: std::isfinite broken?
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Neal Becker <ndbecker2 at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 28 Jul 2008 13:44:27 +0200
- Subject: Re: std::isfinite broken?
- References: <g6ka48$btf$1@ger.gmane.org>
Neal Becker wrote:
gcc-4.3.0-8.x86_64
I have test code that does passes std::isfinite (x), yet if I print the
values to std::cout the value printed is 'inf'. Is std::isfinite (x)
broken?
Whatever bug it may have - it can, of course - std::isfinite returns an
*int*, therefore your statement seems at the very least rather weird. A
self-contained testcase is badly needed.
Paolo.