Le 11/02/2016 21:54, Georg Baum a écrit :
I will have a look at this after the beta. My usual procedure is to use the standard C99 function lround() for rounding, but MSVC10 does not have it. Does it work with the attached patch?
- return static_cast<int>(result + ((result >= 0) ? 0.5 : -0.5)); + return static_cast<int>((round(result))); Looks like there is an extra pair of parenthesis. JMarc