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.