[cairo] _cairo_color_compute_shorts fails with FPU set to
behdad at behdad.org
Wed Aug 30 09:13:59 PDT 2006
On Wed, 2006-08-30 at 15:52 +0000, Fabien Costantini wrote:
> ----- Message d'origine ----
> De : James Cloos <cloos at jhcloos.com>
> À : cairo <cairo at cairographics.org>
> >>Keith> Or i -= (i >> 16), which avoids the question of a branch.
> >What about when the float is > 1.0?
> Then if you want to be really sure , just add a simple mask as
> i -= ((i >> 16) & 1)
That doesn't really help, other than slowing it down.
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
More information about the cairo