[cairo] fixed_from_double speedup masking pixman traps problem

Daniel Amelang daniel.amelang at gmail.com
Mon Nov 20 23:53:41 PST 2006


On 11/20/06, Bogdan Nicula <bogdanni at hotmail.com> wrote:
>
> I mentioned before that it's easy to overflow in this function
> (fixed_from_double) due to errors in  other code. Is it possible to add some
> input checking?

I should have mentioned that the old version of fixed_from_double
overflowed just as 'easily' as the new one does. The difference is
that the result of the overflow is different, which what Vlad meant by
"we're getting different bogus values."

Dan


More information about the cairo mailing list