The Trunk: Kernel-ar.450.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-ar.450.mcz

commits-2
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!