diff options
author | kraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-06 03:34:36 +0000 |
---|---|---|
committer | kraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-06 03:34:36 +0000 |
commit | 3fcccf472dccf873362d9f4e8f08b2d619df19c6 (patch) | |
tree | 445b4350eb5a998364d8b375908b577f9d09b9b2 /libjava/java | |
parent | f492015ba9d27841fae23b83d4680ec8317317ea (diff) | |
download | ppe42-gcc-3fcccf472dccf873362d9f4e8f08b2d619df19c6.tar.gz ppe42-gcc-3fcccf472dccf873362d9f4e8f08b2d619df19c6.zip |
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/w_exp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/java/lang/w_exp.c b/libjava/java/lang/w_exp.c index ae792a84642..45e087b45f9 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 |