1 #ifndef CLITKPORTABILITY_H
2 #define CLITKPORTABILITY_H
5 # define _USE_MATH_DEFINES //Before math.h include (i.e. cmath)
10 # define rint(x) floor(x+0.5)
11 # define lrint(x) (long)rint(x)
15 int IsNormal(const T val) {
19 return std::isnormal(val);
23 #endif /* end #define CLITKPORTABILITY_H */