On 12 August 2011 13:06, Octavian Voicu octavian.voicu@gmail.com wrote:
As far as I know C99 is not allowed. However, you can emulate round by doing: floorf(val + 0.5f)
It probably doesn't matter here, but note that that isn't the same as roundf() for values below zero.