Skip to content
Permalink
Browse files
8252250: isnanf is obsolete
Reviewed-by: vkempik
Backport-of: b957d80
  • Loading branch information
Aleksei Voitylov authored and Vladimir Kempik committed Mar 10, 2022
1 parent 8e01531 commit 49f91052b8930b23ceff7399151e4225762bd13d
Showing 2 changed files with 2 additions and 2 deletions.
@@ -204,7 +204,7 @@ inline int g_isnan(double f) { return isnand(f); }
#elif defined(__APPLE__)
inline int g_isnan(double f) { return isnan(f); }
#elif defined(LINUX) || defined(_ALLBSD_SOURCE)
inline int g_isnan(float f) { return isnanf(f); }
inline int g_isnan(float f) { return isnan(f); }
inline int g_isnan(double f) { return isnan(f); }
#else
#error "missing platform-specific definition here"
@@ -37,7 +37,7 @@
#define ISNAND(d) isnan(d)
#elif defined(__linux__) || defined(_ALLBSD_SOURCE)
#include <math.h>
#define ISNANF(f) isnanf(f)
#define ISNANF(f) isnan(f)
#define ISNAND(d) isnan(d)
#elif defined(_AIX)
#include <math.h>

1 comment on commit 49f9105

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 49f9105 Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.