Go to the documentation of this file.00001 #ifndef OPENTISSUE_CORE_MATH_IS_FINITE_H
00002 #define OPENTISSUE_CORE_MATH_IS_FINITE_H
00003
00004
00005
00006
00007
00008
00009
00010 #include <OpenTissue/configuration.h>
00011
00012 #ifdef WIN32
00013 #include <float.h>
00014 #endif
00015
00016 namespace OpenTissue
00017 {
00018 namespace math
00019 {
00020
00021 #ifdef WIN32
00022 #define is_finite(val) (_finite(val)!=0) ///< Is finite number test
00023 #else
00024 #define is_finite(val) (finite(val)!=0) ///< Is finite number test
00025 #endif
00026
00027 }
00028
00029 }
00030
00031
00032 #endif