ROSE  0.9.10.89
rose_isnan.h
1 #ifndef ROSE_isnan_H
2 #define ROSE_isnan_H
3 
4 // In case anyone included a C header file, since isnan is a macro in C
5 #undef isnan
6 
7 #include <boost/math/special_functions/fpclassify.hpp>
8 
9 template<typename T>
10 bool rose_isnan(T x) {
11  return boost::math::isnan(x);
12 }
13 
14 #endif