Ask Your Question

Revision history [back]

There is no round function in vs 2012. you have to modify source code try something like this

inline double round(double value) { return value < 0 ? -std::floor(0.5 - value) : std::floor(0.5 + value); }

There is no round function in vs 2012. you have to modify source code try something like this

inline double round(double value) { return value < 0 ? -std::floor(0.5 - value) : std::floor(0.5 + value); }

you can read this post too