[cairo] Patches for speeding up _cairo_fixed_from_double

Behdad Esfahbod behdad at behdad.org
Mon Nov 6 15:55:38 PST 2006


On Mon, 2006-11-06 at 15:49 -0800, Daniel Amelang wrote:
> 
> > So, can you elaborate?  How and why does it fail?
> 
> In single-precision mode, the new function returns zero for all input.
> This is because the large add that is performed overflows the FPU when
> it's only operating on 32-bits.

Got it.  Thanks.

-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list