[cairo] Re: [cairo-commit] test/operator-clear.c test/operator-source.c test/unbounded-operator.c

Behdad Esfahbod behdad at behdad.org
Wed Nov 29 21:37:37 PST 2006


On Wed, 2006-11-29 at 18:35 -0800, Daniel Amelang wrote:
> On 11/23/06, Behdad Esfahbod <behdad at behdad.org> wrote:
> > On Wed, 2006-11-22 at 19:44 -0500, Carl Worth wrote:
> > >     test: Use round to pass only integers to cairo_show_glyphs (in 3
> > > more tests)
> >
> > Didn't we intentionally avoid round and lround because of their C99
> > introduction?  I think the same floor(...+.5) trick should be used here
> > too.
> 
> I agree, VC++ doesn't have round(), for example. What do you think of
> this patch?

Looks good.  Go ahead with your brand new account!

> Dan
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list