Go to the documentation of this file.00001 #ifndef UMATH_H
00002 #define UMATH_H
00003
00006 template<class T>
00007 inline bool uIsFinite(const T & value)
00008 {
00009 #if _MSC_VER
00010 return _finite(value) != 0;
00011 #else
00012 return std::isfinite(value);
00013 #endif
00014 }
00015
00016 #endif // UMATH_H
00017