On Fri, Jul 31, 2015 at 5:46 PM, Roland Scheidegger <srol...@vmware.com> 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 <srol...@vmware.com> Thanks! _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev