[ENH] RBUINumberCloseTo

Dan Ingalls Dan at SqueakLand.org
Tue Sep 18 01:58:56 UTC 2001


>"Change Set:		RBUINumberCloseTo
>Date:			17 September 2001
>Author:			Unknown
>
>Makes all Number subclasses respond to closeTo:
>
>This is required by the RefactoringBrowser (to determine whether two
>methods are equivalent, we must check their literals are, well, close.
>Obvious, isn't it?)
>
>This code was in the bundle from BobH.

Hi, Daniel -

I may be missing something obvious, but...

Methinks this very code has been in the Squeak release for two and a half years along with its two companion methods.  The author is Ted Kaehler.  I think the method in the image is more nicely formatted, so let's leave this out.

	- Dan
-- 




More information about the Squeak-dev mailing list