#ifndef UTILS_H #define UTILS_H //#define USE_DBL #ifdef USE_DBL typedef double myflt; typedef long myint; #else typedef float myflt; typedef int myint; #endif #define INP2MYFLT(x) *((myflt*)(&x)) #ifdef USE_DBL #define PARSE toULong(Q_NULLPTR, 16) #else #define PARSE toInt(Q_NULLPTR, 16) #endif #endif // UTILS_H