Daniel Martin <[email protected]> writes:

> The macro is used with frac != 0 in to places, only. Maybe that's why
> nobody noticed that mistake before:

Yeah, except the fraction really is a fraction -- it's a floating point
value between 0 and 1.

Changing this to an inline function that declares the type of the second
arg as 'float' would make this clear.

-- 
[email protected]

Attachment: pgpsWqB3vquOn.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to