aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorMatt Kraai <kraai@alumni.cmu.edu>2003-06-06 03:34:36 +0000
committerMatt Kraai <kraai@gcc.gnu.org>2003-06-06 03:34:36 +0000
commit86fb951d4c4aa345352d87b3c4959cd3c3cdb30a (patch)
tree445b4350eb5a998364d8b375908b577f9d09b9b2 /libjava/java
parent46c4e5d6e9e539d736eebbd7cab1d76a569af11a (diff)
downloadgcc-86fb951d4c4aa345352d87b3c4959cd3c3cdb30a.zip
gcc-86fb951d4c4aa345352d87b3c4959cd3c3cdb30a.tar.gz
gcc-86fb951d4c4aa345352d87b3c4959cd3c3cdb30a.tar.bz2
w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
* java/lang/w_exp.c (o_threshold, u_threshold): Define only if _IEEE_LIBM is undefined. From-SVN: r67526
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/w_exp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/java/lang/w_exp.c b/libjava/java/lang/w_exp.c
index ae792a8..45e087b 100644
--- a/libjava/java/lang/w_exp.c
+++ b/libjava/java/lang/w_exp.c
@@ -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