text: 
  #ifndef _SYSTEM_H_
  #define _SYSTEM_H_
  
  
  #ifdef WINDOWS
  static inline int f2i(float x) // use this to convert float to int, or use /QIfist as additional compiler parameters
  {
      int tmp;
      _asm fld dword ptr[x]
      _asm fistp dword ptr[tmp];
      return tmp;
  }
  #endif
  
  #endif