On Fri, Jul 31, 2015 at 5:46 PM, Roland Scheidegger <[email protected]> wrote: >> + */ >> +static inline long >> +_mesa_lroundevenf(float x) >> +{ >> + return lrintf(x); >> +} >> + >> +/** >> + * \brief Rounds \c x to the nearest integer, with ties to the even integer, >> + * and returns the value as a long int. >> + */ >> +static inline long >> +_mesa_lroundeven(double x) > Is there any need for this one? In any case,
Only to make sure it's available when/if someone needs it. > Reviewed-by: Roland Scheidegger <[email protected]> Thanks! _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
