This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/57066] [4.7/4.8/4.9 Regression] std::logb(-inf) returns wrong value


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]