[PATCH 02/27] Input: Add round_towards_zero helper

Daniel Stone daniel at fooishbar.org
Fri Jun 3 10:38:04 PDT 2011


Hi,

On Fri, Jun 03, 2011 at 12:38:16PM -0400, Matt Turner wrote:
> Why not use trunc()?
> 
> http://pubs.opengroup.org/onlinepubs/009695399/functions/trunc.html

Oh man, I spent ages looking for that function.  Sigh.  I'll bin
round_from_zero and update all users to just call trunc() directly in
future patchsets.

Thanks!

Cheers,
Daniel


More information about the xorg-devel mailing list