Skip to content

Commit 49f9105

Browse files
Aleksei VoitylovVladimir Kempik
authored andcommitted
8252250: isnanf is obsolete
Reviewed-by: vkempik Backport-of: b957d80
1 parent 8e01531 commit 49f9105

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hotspot/share/utilities/globalDefinitions_gcc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ inline int g_isnan(double f) { return isnand(f); }
204204
#elif defined(__APPLE__)
205205
inline int g_isnan(double f) { return isnan(f); }
206206
#elif defined(LINUX) || defined(_ALLBSD_SOURCE)
207-
inline int g_isnan(float f) { return isnanf(f); }
207+
inline int g_isnan(float f) { return isnan(f); }
208208
inline int g_isnan(double f) { return isnan(f); }
209209
#else
210210
#error "missing platform-specific definition here"

src/java.base/unix/native/libjava/jdk_util_md.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#define ISNAND(d) isnan(d)
3838
#elif defined(__linux__) || defined(_ALLBSD_SOURCE)
3939
#include <math.h>
40-
#define ISNANF(f) isnanf(f)
40+
#define ISNANF(f) isnan(f)
4141
#define ISNAND(d) isnan(d)
4242
#elif defined(_AIX)
4343
#include <math.h>

0 commit comments

Comments
 (0)