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

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 25 08:41:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57066

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-25 08:41:28 UTC ---
Note that at least -O is needed + -std=c++11.  With -O0 it correctly prints
"inf".



More information about the Gcc-bugs mailing list