Lars Gullik Bj�nnes wrote:
> 
> Angus Leeming <[EMAIL PROTECTED]> writes:
>>
> >> | -  return pdm.logicalDpiY();
> >> | +  return 0.5 * (pdm.logicalDpiX() + pdm.logicalDpiY());
> >>
> >> I would have prefred some (pdm.logicalDpiX() +
> >> pdm.logicalDpiY()) / 2.0
> >>
> >> to me it seems more strait forward...
> >
> | Well, never mind dear. Perhaps you should lie down for a while.
> >
> | Anyway, I was taught in the Fortran, number crunching world that
> | divide is a more expensive operation than multiply and it should
> | be avoided if possible.
Why isn't this fixed point anyway? Are fractional dpi's useful?
Garst


Reply via email to