Replaced all calls to fminf and fmaxf by the macros that was added for the integer min/max functions.