From 86fb951d4c4aa345352d87b3c4959cd3c3cdb30a Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Fri, 6 Jun 2003 03:34:36 +0000 Subject: 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 --- libjava/java/lang/w_exp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libjava/java') 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 -- cgit v1.1