src/solaris/native/common/jdk_util_md.h

Print this page
rev 8725 : 8024854: Basic changes and files to build the class library on AIX
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, thomas.stuefe@sap.com
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan


  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 #ifndef JDK_UTIL_MD_H
  27 #define JDK_UTIL_MD_H
  28 
  29 // checking for nanness
  30 #ifdef __solaris__
  31 #include <ieeefp.h>
  32 #define ISNANF(f) isnanf(f)
  33 #define ISNAND(d) isnand(d)
  34 #elif defined(MACOSX)
  35 #include <math.h>
  36 #define ISNANF(f) isnan(f)
  37 #define ISNAND(d) isnan(d)
  38 #elif defined(__linux__) || defined(_ALLBSD_SOURCE)
  39 #include <math.h>
  40 #define ISNANF(f) isnanf(f)
  41 #define ISNAND(d) isnan(d)




  42 #else
  43 #error "missing platform-specific definition here"
  44 #endif
  45 
  46 #endif /* JDK_UTIL_MD_H */


  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 #ifndef JDK_UTIL_MD_H
  27 #define JDK_UTIL_MD_H
  28 
  29 // checking for nanness
  30 #ifdef __solaris__
  31 #include <ieeefp.h>
  32 #define ISNANF(f) isnanf(f)
  33 #define ISNAND(d) isnand(d)
  34 #elif defined(MACOSX)
  35 #include <math.h>
  36 #define ISNANF(f) isnan(f)
  37 #define ISNAND(d) isnan(d)
  38 #elif defined(__linux__) || defined(_ALLBSD_SOURCE)
  39 #include <math.h>
  40 #define ISNANF(f) isnanf(f)
  41 #define ISNAND(d) isnan(d)
  42 #elif defined(_AIX)
  43 #include <math.h>
  44 #define ISNANF(f) _isnanf(f)
  45 #define ISNAND(d) _isnan(d)
  46 #else
  47 #error "missing platform-specific definition here"
  48 #endif
  49 
  50 #endif /* JDK_UTIL_MD_H */