28 # error "don't have header file for math"
48 using std::ostringstream;
54 return COIN_C_ISNAN( x)!=0;
73 ostringstream versionInfo;
74 versionInfo << std::endl << std::endl;
75 versionInfo <<
"Optimization Services Solver";
76 versionInfo << std::endl;
77 versionInfo <<
"Main Authors: Horand Gassmann, Jun Ma, and Kipp Martin";
78 versionInfo << std::endl;
79 versionInfo <<
"Distributed under the Eclipse Public License" ;
80 versionInfo << std::endl;
83 ostringstream temp_version;
86 versionInfo <<
"OS Version: ";
87 if (temp_version.str() ==
"trunk")
89 versionInfo <<
"trunk";
91 versionInfo << std::endl;
92 versionInfo <<
"SVN Version: ";
93 versionInfo << OS_SVN_REV;
98 versionInfo << std::endl;
100 versionInfo <<
"Build Date: ";
101 versionInfo << __DATE__;
103 versionInfo << std::endl << std::endl;
104 return versionInfo.str() ;
std::string OSgetVersionInfo()
double OSNaN()
returns the value for NaN used in OS
bool OSIsnan(double x)
checks whether a given double is NaN
void fint fint fint real fint real * x