You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
327 B

#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