w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
authorMatt Kraai <kraai@alumni.cmu.edu>
Fri, 6 Jun 2003 03:34:36 +0000 (03:34 +0000)
committerMatt Kraai <kraai@gcc.gnu.org>
Fri, 6 Jun 2003 03:34:36 +0000 (03:34 +0000)
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.

From-SVN: r67526

libjava/ChangeLog
libjava/java/lang/w_exp.c

index c59eb757b310b4e312c888f23d9c7ef50084825b..8463d7a0bf6962b85a1dc484f6fb9bdc530194ad 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * java/lang/w_exp.c (o_threshold, u_threshold): Define only
+       if _IEEE_LIBM is undefined.
+
 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
 
        * libjava/include/posix.h (O_SYNC): Define if not available
index ae792a84642e52c7f148e2d9bfe33ccda9a9423f..45e087b45f9e42b9b82e0c62cfc5afad55a9cf66 100644 (file)
@@ -65,6 +65,8 @@ PORTABILITY
 
 #ifndef _DOUBLE_IS_32BITS
 
+#ifndef _IEEE_LIBM
+
 #ifdef __STDC__
 static const double
 #else
@@ -73,6 +75,8 @@ static double
 o_threshold=  7.09782712893383973096e+02,  /* 0x40862E42, 0xFEFA39EF */
 u_threshold= -7.45133219101941108420e+02;  /* 0xc0874910, 0xD52D3051 */
 
+#endif
+
 #ifdef __STDC__
        double exp(double x)            /* wrapper exp */
 #else