On Thursday 17 October 2002 2:26 pm, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | Patch to both appended. Ok? > > pretty much ok. > > | - 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. Angus