[squeak-dev] #closeTo: on small numbers

St├ęphane Rollandin lecteur at zogotounga.net
Sun Mar 8 10:23:46 UTC 2020


> 	(self closeTo: 0.0) ifTrue: [^self abs < 0.0001].

typo: it's
	(self closeTo: 0.0) ifTrue: [^num abs < 0.0001].

Stef


More information about the Squeak-dev mailing list