Bug in <math.h> in glibc 2.2.3

Matthew Garrett garrett@mama.indstate.edu
Fri Jul 27 18:50:00 GMT 2001


--- math.h      Tue Jul 24 19:41:23 2001
+++ /usr/include/math.h Sun Jul 15 15:59:48 2001
@@ -115,7 +115,7 @@ extern int signgam;


 /* ISO C99 defines some generic macros which work on any data type.  */
-#if __USE_ISOC99
+#ifdef __USE_ISOC99

 /* Get the architecture specific values describing the floating-point
    evaluation.  The following symbols will get defined:
@@ -351,7 +351,7 @@ extern int matherr (struct exception *__
 #endif


-#if __USE_ISOC99
+#ifdef __USE_ISOC99
 /* ISO C99 defines some macros to compare number while taking care
    for unordered numbers.  Since many FPUs provide special
    instructions to support these operations and these tests are



More information about the Libc-alpha mailing list