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
This commit is contained in:
Matt Kraai 2003-06-06 03:34:36 +00:00 committed by Matt Kraai
parent 46c4e5d6e9
commit 86fb951d4c
2 changed files with 9 additions and 0 deletions

View 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

View 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