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