Floats (was Re: [Gimp-developer] Dreamworks, etc.)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 01, 2002 at 06:35:10PM +0100, Guillermo S. Romero / Familia Romero wrote:
> some places use 32 bit float

This probably ought to be on our horizon too. Modern FPUs are very fast
and RAM gets ever cheaper. Are there any concrete advantages (other than
the 50% saving on storage) for 16-bit integers vs 32-bit float? We can't
actually /display/ either of these things on conventional hardware so
there's no difference there.

Naive tests suggest that floats are significantly faster for a compositor
or similar code  { i.e. R' = R * (1-a) + r * a  }  on commodity x86 CPUs.
Has anyone with better profiling knowledge than me tried this kind of
thing inside an actual working image app ?

Nick.

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux