/* roundvc.h is a file for rounding function in VC++ by S. OISHI */ #include #define up _controlfp(_RC_UP, _MCW_RC) #define down _controlfp(_RC_DOWN, _MCW_RC) #define near _controlfp(_RC_NEAR, _MCW_RC) #define chop _controlfp(_RC_CHOP, _MCW_RC3) unsigned int _controlfp(unsigned int new, unsigned int mask);