On Tue, Jul 30, 2002 at 12:08:33PM +0200, Jean-Marc Lasgouttes wrote: > John> Now you're making a double comparison without an epsilon ... > John> that's not reliable. We have a float_equals<> somewhere > > No, because what we want to detect is repetition of identical events. > This corresponds to the same position of the scrollbar, doesn't it?
Well if two things change internally, but the final result is the "same", we shouldn't be firing off. But I admit it doesn't matter in this context. We should have a clear comment for this though. regards john -- "The simpler it is, the harder it is." - Tim Van Holder