mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8249612: Remove unused ISNANF and ISNAND from jdk_util_md.h
Reviewed-by: darcy
This commit is contained in:
parent
2f8653fbf0
commit
993b1b0afa
2 changed files with 2 additions and 27 deletions
|
@ -23,24 +23,4 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
#ifndef JDK_UTIL_MD_H
|
||||
#define JDK_UTIL_MD_H
|
||||
|
||||
// checking for nanness
|
||||
#if defined(MACOSX)
|
||||
#include <math.h>
|
||||
#define ISNANF(f) isnan(f)
|
||||
#define ISNAND(d) isnan(d)
|
||||
#elif defined(__linux__) || defined(_ALLBSD_SOURCE)
|
||||
#include <math.h>
|
||||
#define ISNANF(f) isnanf(f)
|
||||
#define ISNAND(d) isnan(d)
|
||||
#elif defined(_AIX)
|
||||
#include <math.h>
|
||||
#define ISNANF(f) _isnanf(f)
|
||||
#define ISNAND(d) _isnan(d)
|
||||
#else
|
||||
#error "missing platform-specific definition here"
|
||||
#endif
|
||||
|
||||
#endif /* JDK_UTIL_MD_H */
|
||||
// Currently, there are no unix specific functions defined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue