← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] portability: replace round() with KiROUND()

 

Le 16/07/2015 23:20, Simon Richter a écrit :
> The round() function is C98/C++11 only, which is why there is a special
> KiROUND() function that is used almost everywhere for rounding.

Committed. Thanks.
KiROUND(), in debug mode, detects int overflows.


-- 
Jean-Pierre CHARRAS


References