[squeak-dev] The Trunk: Kernel-ar.450.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 6 05:24:46 UTC 2010


Andreas Raab uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ar.450.mcz

==================== Summary ====================

Name: Kernel-ar.450
Author: ar
Time: 5 May 2010, 10:23:50.222 pm
UUID: f30101fa-2360-5249-8dc8-cf7d9f169246
Ancestors: Kernel-ul.449, Kernel-wiz.444

Merging Kernel-wiz.444:

This adds Number>>roundDownTo:

Currently it is missing. Essentialy it is an umimplemented call. Called by:
'Point roundDownTo: {*Morphic-Truncation and Roundoff}' 'Rectangle compressTo: {*Morphic-Truncation and Roundoff}' 'Rectangle expandTo: {*Morphic-Truncation and Roundoff}'

It doesn't show up as unimplemented because the selector is used by Point. However, if it is not present the other three methods will raise a stink.



=============== Diff against Kernel-ul.449 ===============

Item was added:
+ ----- Method: Number>>roundDownTo: (in category 'truncation and round off') -----
+ roundDownTo: aNumber 
+ 	"Answer the next multiple of aNumber toward negative infinity that is nearest the 
+ 	receiver."
+ 
+ 	^(self/aNumber) floor * aNumber!




More information about the Squeak-dev mailing list