Brent Dax wrote: > Nicholas Clark wrote: > > Unless I'm being thick, x² < y² whenever x < y for positive x > > and y (ie you don't need to take the square root of the > > hypotenuse to work out which hypotenuse is shorter. And all > > we're actually interested in which one is shorter, aren't we?) > > Assuming x and y are integers, yes. Which'll probably be all we ever > deal with, so for all intents and purposes you're correct.
Yes, of course the numbers will always be integers -- we're dealing with distances in a discrete space (type space). But, um, what Nick said is true even if the numbers are reals. :-) -- John Douglas Porter __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com