diff options
author | Guilhem Lavaux <guilhem@kaffe.org> | 2005-12-17 20:46:57 +0000 |
---|---|---|
committer | Guilhem Lavaux <guilhem@kaffe.org> | 2005-12-17 20:46:57 +0000 |
commit | 720787adc20b686f2abc5feb5b96d7a47fe72fbb (patch) | |
tree | 87729b97b08d13a677d8fb96265ba4886bb70a81 | |
parent | 779e3a5923ebb761c92200ed7d3414ec07638694 (diff) | |
download | classpath-720787adc20b686f2abc5feb5b96d7a47fe72fbb.tar.gz |
2005-12-17 Guilhem Lavaux <guilhem@kaffe.org>
* native/fdlibm/namespace.h: Regenerated.
* native/fdlibm/fdlibm.h
(isnan): Define explicitly isnan if it is not a macro.
* scripts/math_symbols: Removed isnan.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | native/fdlibm/fdlibm.h | 6 | ||||
-rw-r--r-- | native/fdlibm/namespace.h | 1 | ||||
-rw-r--r-- | scripts/math_symbols | 1 |
4 files changed, 14 insertions, 3 deletions
@@ -1,3 +1,12 @@ +2005-12-17 Guilhem Lavaux <guilhem@kaffe.org> + + * native/fdlibm/namespace.h: Regenerated. + + * native/fdlibm/fdlibm.h + (isnan): Define explicitly isnan if it is not a macro. + + * scripts/math_symbols: Removed isnan. + 2005-12-17 Wolfgang Baer <WBaer@gmx.de> * javax/print/attribute/standard/CopiesSupported.java: diff --git a/native/fdlibm/fdlibm.h b/native/fdlibm/fdlibm.h index 652e4611a..a4a55523e 100644 --- a/native/fdlibm/fdlibm.h +++ b/native/fdlibm/fdlibm.h @@ -95,7 +95,11 @@ extern double erf __P((double)); extern double erfc __P((double)); extern double gamma __P((double)); extern double hypot __P((double, double)); -extern int isnan __P((double)); + +#ifndef isnan +#define isnan(x) ((x) != (x)) +#endif + extern int finite __P((double)); extern double j0 __P((double)); extern double j1 __P((double)); diff --git a/native/fdlibm/namespace.h b/native/fdlibm/namespace.h index fa76d5bd5..f8bfde861 100644 --- a/native/fdlibm/namespace.h +++ b/native/fdlibm/namespace.h @@ -23,7 +23,6 @@ #define erfc ClasspathMath_erfc #define gamma ClasspathMath_gamma #define hypot ClasspathMath_hypot -#define isnan ClasspathMath_isnan #define finite ClasspathMath_finite #define j0 ClasspathMath_j0 #define j1 ClasspathMath_j1 diff --git a/scripts/math_symbols b/scripts/math_symbols index e9c428922..9bc8c26a2 100644 --- a/scripts/math_symbols +++ b/scripts/math_symbols @@ -22,7 +22,6 @@ erf erfc gamma hypot -isnan finite j0 j1 |