//浮点数转换为整数 == [i=(int)f],但效率会比其高出很多 inline void F_T_I( const float f, int i ) { __asm { fld f; fistp i; } }