This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/57066] [4.7/4.8/4.9 Regression] std::logb(-inf) returns wrong value
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Apr 2013 13:43:39 +0000
- Subject: [Bug tree-optimization/57066] [4.7/4.8/4.9 Regression] std::logb(-inf) returns wrong value
- Auto-submitted: auto-generated
- References: <bug-57066-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57066
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-25 13:43:39 UTC ---
(In reply to comment #4)
> I wonder if std::logb(-NaN) should also return +NaN.
It turned out that in NaN's case it doesn't matter.