c++/3876: c++ #define INFINITY in cmath

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Mon Jul 30 13:52:00 GMT 2001

Synopsis: c++ #define INFINITY in cmath

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Mon Jul 30 13:52:34 2001
    INFINITY is specified as a macro in math.h in the C99 Standard, and the C++98 Standard says the contents of <cmath> are the same as those of <math.h> in the C Standard.
    Anyway, even if a revision of the C++ Standard rules this macro out of C++, this is not a problem in GCC, but in glibc, which is where the definition of the macro comes from.


More information about the Gcc-bugs mailing list